mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 19:18:12 +01:00
Intern block properties
This commit is contained in:
parent
7b328d3d4c
commit
78f37de368
@ -80,8 +80,8 @@ public class BlockUtils {
|
||||
if (equalIndex != -1) {
|
||||
final String key = property.substring(0, equalIndex).trim();
|
||||
final String value = property.substring(equalIndex + 1).trim();
|
||||
entries[entryIndex++] = key;
|
||||
entries[entryIndex++] = value;
|
||||
entries[entryIndex++] = key.intern();
|
||||
entries[entryIndex++] = value.intern();
|
||||
}
|
||||
start = end + 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user