1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

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 b938f01b18
commit 9acd05fffa

View File

@@ -173,7 +173,7 @@ public class Commandremove extends EssentialsCommand
} }
else if (toRemove == ToRemove.ITEMFRAMES) else if (toRemove == ToRemove.ITEMFRAMES)
{ {
if (e instanceof Painting) if (e instanceof ItemFrame)
{ {
e.remove(); e.remove();
removed++; removed++;