diff --git a/src/main/java/net/fabricmc/fabric/FabricAPI.java b/src/main/java/net/fabricmc/fabric/FabricAPI.java index 73f809798..4a57e4132 100644 --- a/src/main/java/net/fabricmc/fabric/FabricAPI.java +++ b/src/main/java/net/fabricmc/fabric/FabricAPI.java @@ -33,11 +33,6 @@ import java.util.List; public class FabricAPI implements ModInitializer { @Override public void onInitialize() { - List ss = null; - for (String s : ss) { - s.length(); - } - PlayerInteractionEvent.BREAK_BLOCK.register((player, world, hand, pos, facing) -> { BlockState state = world.getBlockState(pos); if (state instanceof BreakInteractable) { diff --git a/src/main/java/net/fabricmc/fabric/client/render/BlockEntityRendererRegistry.java b/src/main/java/net/fabricmc/fabric/client/render/BlockEntityRendererRegistry.java index e8f73c5e7..d9c99bb1f 100644 --- a/src/main/java/net/fabricmc/fabric/client/render/BlockEntityRendererRegistry.java +++ b/src/main/java/net/fabricmc/fabric/client/render/BlockEntityRendererRegistry.java @@ -28,7 +28,7 @@ import java.util.Map; */ public class BlockEntityRendererRegistry { public static final BlockEntityRendererRegistry INSTANCE = new BlockEntityRendererRegistry(); - private Map, BlockEntityRenderer> renderers; + private Map, BlockEntityRenderer> renderers = null; private Map, BlockEntityRenderer> renderersTmp = new HashMap<>(); private BlockEntityRendererRegistry() {