diff options
author | Pocketkid2 <afranklint16@gmail.com> | 2013-08-07 08:59:47 -0700 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2013-08-13 18:14:40 +0100 |
commit | 794dd788a3866cd59ee030b1394dca00ca8d71fd (patch) | |
tree | 86a4f9271bd1d625a3a5a26d0147fa12b201179b | |
parent | b3cae17cab49e1dc1ea2d9d36ae1518506ea3473 (diff) | |
download | Essentials-794dd788a3866cd59ee030b1394dca00ca8d71fd.tar Essentials-794dd788a3866cd59ee030b1394dca00ca8d71fd.tar.gz Essentials-794dd788a3866cd59ee030b1394dca00ca8d71fd.tar.lz Essentials-794dd788a3866cd59ee030b1394dca00ca8d71fd.tar.xz Essentials-794dd788a3866cd59ee030b1394dca00ca8d71fd.zip |
Update Commandremove.java
Fix class checking in /remove
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandremove.java | 2 |
1 files changed, 1 insertions, 1 deletions
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++; |