mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-13 02:18:34 +00:00
Merge remote-tracking branch 'refs/remotes/sk89q/master'
# Conflicts: # worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/BukkitWorld.java # worldedit-core/src/main/java/com/sk89q/worldedit/blocks/BaseBlock.java # worldedit-core/src/main/java/com/sk89q/worldedit/world/NullWorld.java
This commit is contained in:
@ -224,7 +224,8 @@ public class DefaultBlockParser extends InputParser<BlockStateHolder> {
|
||||
state = item.getType().getBlockType().getDefaultState();
|
||||
nbt = item.getNbtData();
|
||||
} else {
|
||||
state = BlockTypes.parse(typeString.toLowerCase()).getDefaultState();
|
||||
BlockTypes type = BlockTypes.parse(typeString.toLowerCase());
|
||||
state = type.getDefaultState();
|
||||
|
||||
if (state == null) {
|
||||
throw new NoMatchException("Does not match a valid block type: '" + input + "'");
|
||||
|
Reference in New Issue
Block a user