Fix /announcedeath seconds readout
This commit is contained in:
parent
b5ee50159b
commit
6629afd038
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ public class DeathCoordinates extends JavaPlugin {
|
||||||
location.getBlockZ(),
|
location.getBlockZ(),
|
||||||
location.getWorld().getEnvironment(),
|
location.getWorld().getEnvironment(),
|
||||||
minutesSinceDeath,
|
minutesSinceDeath,
|
||||||
secondsSinceDeath
|
secondsSinceDeath - minutesSinceDeath * 60
|
||||||
));
|
));
|
||||||
} catch(NullPointerException e) {
|
} catch(NullPointerException e) {
|
||||||
sender.sendMessage(ChatColor.YELLOW + "No death coordinates to announce.");
|
sender.sendMessage(ChatColor.YELLOW + "No death coordinates to announce.");
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: DeathCoordinates
|
name: DeathCoordinates
|
||||||
main: com.elnu.DeathCoordinates
|
main: com.elnu.DeathCoordinates
|
||||||
version: 1.1.1
|
version: 1.1.2
|
||||||
api-version: 1.17
|
api-version: 1.17
|
||||||
author: ElnuDraws
|
author: ElnuDraws
|
||||||
commands:
|
commands:
|
||||||
|
|
Reference in a new issue