diff --git a/src/main/java/net/minestom/server/instance/block/BlockRegistry.java b/src/main/java/net/minestom/server/instance/block/BlockRegistry.java index ab2940c30..4570b4f08 100644 --- a/src/main/java/net/minestom/server/instance/block/BlockRegistry.java +++ b/src/main/java/net/minestom/server/instance/block/BlockRegistry.java @@ -98,7 +98,7 @@ class BlockRegistry { builder = valueBuilder; } else if (c == ',' || c == ']') { // Append current text - result.put(keyBuilder.toString(), valueBuilder.toString()); + result.put(keyBuilder.toString().intern(), valueBuilder.toString().intern()); keyBuilder = new StringBuilder(); valueBuilder = new StringBuilder(); builder = keyBuilder;