Fix /announcedeath seconds readout

This commit is contained in:
Elnu 2021-11-28 21:54:50 -08:00
parent b5ee50159b
commit 6629afd038
2 changed files with 2 additions and 2 deletions

View file

@ -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.");

View file

@ -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: