Merge pull request #15 from alisolarflare/patch-1
Send a message to Ali about Bed Material Data.
This commit is contained in:
commit
a4c9de6896
1 changed files with 1 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue