-
-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use WorldEdit disallowed blocks config in set command
Instead of trying to parse patterns ourselves to figure out if invalid blocks are used, let WE handle it by modifying the disallowed blocks list. This ensures things like '/p set floor hand' only work for allowed blocks. Currently it seems some of the WE pattern parsers don't check against the disallowed blocks list. E.g. BlockCategoryPatternParser doesn't, so '/p set floor ##buttons' works even if all buttons are disallowed.
- Loading branch information
Showing
1 changed file
with
25 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters