mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-17 12:01:20 +02:00
Update Commandremove.java
Fix class checking in /remove
This commit is contained in:
@@ -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++;
|
||||||
|
Reference in New Issue
Block a user