forked from EngineHub/WorldEdit
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Ok, so I noticed in the code for handling disallowed blocks that it had a check for admin.
The codes reads:
if (actor instanceof Player && worldEdit.getConfiguration().disallowedBlocks.contains(blockId) && !WorldEditHandler.isSuperAdmin((Player) actor)) { throw new DisallowedUsageException("You are not allowed to use '" + input + "'"); }
However, the check for admin does not work, and blocks the block for ALL players including staff.