From 30fd112c3f2cafe5d0c228059eaeffb072a90836 Mon Sep 17 00:00:00 2001 From: boy0001 Date: Thu, 19 Mar 2015 22:51:40 +1100 Subject: [PATCH] *Forgot about skull --- .../gmail/St3venAU/plugins/ArmorStandTools/MainListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java b/src/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java index 803c1ec..8b484da 100644 --- a/src/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java +++ b/src/com/gmail/St3venAU/plugins/ArmorStandTools/MainListener.java @@ -560,7 +560,7 @@ public class MainListener implements Listener { @SuppressWarnings("deprecation") private void setPlayerSkull(Player p, ArmorStand as) { Block b = Utils.findAnAirBlock(p.getLocation()); - if(b == null) { + if(b == null || !checkPermission(p, b)) { p.sendMessage(ChatColor.RED + Config.noAirError); return; }