Update WorldListener.java
This commit is contained in:
parent
1802cbd1be
commit
379788b7c3
@ -71,6 +71,9 @@ public class WorldListener implements Listener {
|
|||||||
game.broadcastWithSound(playerTeam.getPlayerTeam().getChatColor() + player.getName() + " &ehas destroyed " + opposingTeam.getPlayerTeam().getChatColor() + opposingTeam.getPlayerTeam().getName() + "'s &ebed!", Sound.ENDERDRAGON_GROWL);
|
game.broadcastWithSound(playerTeam.getPlayerTeam().getChatColor() + player.getName() + " &ehas destroyed " + opposingTeam.getPlayerTeam().getChatColor() + opposingTeam.getPlayerTeam().getName() + "'s &ebed!", Sound.ENDERDRAGON_GROWL);
|
||||||
game.broadcastSound(Sound.ENDERDRAGON_GROWL);
|
game.broadcastSound(Sound.ENDERDRAGON_GROWL);
|
||||||
|
|
||||||
|
playerData.setGameBedsDestroyed(playerData.getGameBedsDestroyed() + 1);
|
||||||
|
playerData.setBedsDestroyed(playerData.getBedsDestroyed() + 1);
|
||||||
|
|
||||||
block.getDrops().clear();
|
block.getDrops().clear();
|
||||||
Location location = block.getLocation();
|
Location location = block.getLocation();
|
||||||
World world = location.getWorld();
|
World world = location.getWorld();
|
||||||
|
Loading…
Reference in New Issue
Block a user