Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
Merge branch 'master' of https://github.com/boy0001/WorldEdit
Dieser Commit ist enthalten in:
Commit
e07ecb73dd
@ -259,7 +259,7 @@ public class DefaultBlockParser extends InputParser<BlockStateHolder> {
|
||||
if (context.isRestricted()) {
|
||||
Actor actor = context.requireActor();
|
||||
if (actor != null) {
|
||||
if (!actor.hasPermission("worldedit.anyblock") && worldEdit.getConfiguration().disallowedBlocks.contains(blockType.getId())) {
|
||||
if (!actor.hasPermission("worldedit.anyblock") && worldEdit.getConfiguration().disallowedBlocks.contains(blockType)) {
|
||||
throw new DisallowedUsageException("You are not allowed to use '" + input + "'");
|
||||
}
|
||||
if (nbt != null) {
|
||||
|
@ -1015,7 +1015,7 @@ public enum BlockTypes implements BlockType {
|
||||
for (BlockTypes type : oldValues) {
|
||||
if (!blockMap.containsKey(type.getId())) {
|
||||
type.init(type.getId(), 0, new ArrayList<>());
|
||||
Fawe.debug("Invalid block registered " + type.getId());
|
||||
if (type != __RESERVED__) Fawe.debug("Invalid block registered " + type.getId());
|
||||
size++;
|
||||
}
|
||||
if (type != __RESERVED__) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren