Fix /announcedeath seconds readout

master v1.1.2
Elnu 2 years ago
parent b5ee50159b
commit 6629afd038

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