update adapter and platform manager

This commit is contained in:
Jesse Boyd
2019-08-29 13:57:03 +01:00
parent aa4c443358
commit 68eea925e1
27 changed files with 27060 additions and 1197 deletions

View File

@ -937,9 +937,9 @@ public final class BlockTypes {
}
// Add to $Registry
for (BlockType type : values) {
BlockType.REGISTRY.register(type.getId().toLowerCase(Locale.ROOT), type);
}
// for (BlockType type : values) {
// BlockType.REGISTRY.register(type.getId().toLowerCase(Locale.ROOT), type);
// }
states = stateList.toArray(new BlockState[stateList.size()]);
@ -969,7 +969,6 @@ public final class BlockTypes {
}
// register states
if (typeName.startsWith("minecraft:")) BlockType.REGISTRY.register(typeName.substring(10), existing);
BlockType.REGISTRY.register(typeName, existing);
String nameSpace = typeName.substring(0, typeName.indexOf(':'));
$NAMESPACES.add(nameSpace);