Update Commandremove.java

Fix class checking in /remove
This commit is contained in:
Pocketkid2 2013-08-07 08:59:47 -07:00 committed by KHobbits
parent b3cae17cab
commit 794dd788a3

View File

@ -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++;