Update WorldListener.java

This commit is contained in:
Luca 2021-11-22 16:44:43 +01:00
parent 1802cbd1be
commit 379788b7c3

View File

@ -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.broadcastSound(Sound.ENDERDRAGON_GROWL);
playerData.setGameBedsDestroyed(playerData.getGameBedsDestroyed() + 1);
playerData.setBedsDestroyed(playerData.getBedsDestroyed() + 1);
block.getDrops().clear();
Location location = block.getLocation();
World world = location.getWorld();