comment out block registry because thats making sense i guess?

Dieser Commit ist enthalten in:
Aurora 2020-09-26 12:59:04 +02:00
Ursprung aceb7ed0b5
Commit 4511884bca
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 89839F67B53656AD

Datei anzeigen

@ -150,12 +150,11 @@ public class FabricWorldEdit implements ModInitializer {
private void setupRegistries(MinecraftServer server) { private void setupRegistries(MinecraftServer server) {
// Blocks // Blocks
for (Identifier name : Registry.BLOCK.getIds()) { /*for (Identifier name : Registry.BLOCK.getIds()) {
if (BlockType.REGISTRY.get(name.toString()) == null) { if (BlockType.REGISTRY.get(name.toString()) == null) {
BlockType.REGISTRY.register(name.toString(), new BlockType(name.toString(), BlockType.REGISTRY.register(name.toString(), new BlockType(name.toString(), FabricAdapter.adapt(name));
input -> FabricAdapter.adapt(FabricAdapter.adapt(input.getBlockType()).getDefaultState())));
}
} }
}*/
// Items // Items
for (Identifier name : Registry.ITEM.getIds()) { for (Identifier name : Registry.ITEM.getIds()) {
if (ItemType.REGISTRY.get(name.toString()) == null) { if (ItemType.REGISTRY.get(name.toString()) == null) {