Send a message to Ali about Bed Material Data. #15

Merged
alisolarflare merged 1 commit from patch-1 into master 2020-08-23 00:18:14 +00:00
Showing only changes of commit 2da45dca6e - Show all commits

View file

@ -11,6 +11,7 @@ public class Bedsplode implements Listener {
Player player = event.getPlayer();
player.sendMessage("[ButtonPresents] Nighty night " + player.getName().toLowerCase());
if (!player.getName().toLowerCase().equalsIgnoreCase("alisolarflare")) return;
player.sendMessage("Your Bed's Material is: " + event.getBed().getBlockData().getMaterial().toString());
player.getWorld().createExplosion(
player.getLocation().getBlockX(),