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.getWorld().getEnvironment(),
|
||||
minutesSinceDeath,
|
||||
secondsSinceDeath
|
||||
secondsSinceDeath - minutesSinceDeath * 60
|
||||
));
|
||||
} catch(NullPointerException e) {
|
||||
sender.sendMessage(ChatColor.YELLOW + "No death coordinates to announce.");
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: DeathCoordinates
|
||||
main: com.elnu.DeathCoordinates
|
||||
version: 1.1.1
|
||||
version: 1.1.2
|
||||
api-version: 1.17
|
||||
author: ElnuDraws
|
||||
commands:
|
||||
|
|
Reference in a new issue