You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: