From 794dd788a3866cd59ee030b1394dca00ca8d71fd Mon Sep 17 00:00:00 2001 From: Pocketkid2 Date: Wed, 7 Aug 2013 08:59:47 -0700 Subject: [PATCH] Update Commandremove.java Fix class checking in /remove --- .../src/com/earth2me/essentials/commands/Commandremove.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java index 87f47292c..1f1dfef77 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandremove.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandremove.java @@ -173,7 +173,7 @@ public class Commandremove extends EssentialsCommand } else if (toRemove == ToRemove.ITEMFRAMES) { - if (e instanceof Painting) + if (e instanceof ItemFrame) { e.remove(); removed++;