mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-19 11:31:03 +02:00
Update Commandremove.java
Fix class checking in /remove
This commit is contained in:
parent
b3cae17cab
commit
794dd788a3
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user