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