Skip to content

You are not allowed to use {block} #26

@ghost

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions