Send a message to Ali about Bed Material Data. #15
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ public class Bedsplode implements Listener {
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
player.sendMessage("[ButtonPresents] Nighty night " + player.getName().toLowerCase());
|
player.sendMessage("[ButtonPresents] Nighty night " + player.getName().toLowerCase());
|
||||||
if (!player.getName().toLowerCase().equalsIgnoreCase("alisolarflare")) return;
|
if (!player.getName().toLowerCase().equalsIgnoreCase("alisolarflare")) return;
|
||||||
|
player.sendMessage("Your Bed's Material is: " + event.getBed().getBlockData().getMaterial().toString());
|
||||||
|
|
||||||
player.getWorld().createExplosion(
|
player.getWorld().createExplosion(
|
||||||
player.getLocation().getBlockX(),
|
player.getLocation().getBlockX(),
|
||||||
|
|
Loading…
Reference in a new issue