Send a message to Ali about Bed Material Data.

Hmmmmmm
This commit is contained in:
alisolarflare 2020-08-22 19:45:19 -04:00 committed by GitHub
parent 97928aff30
commit 2da45dca6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(),