forked from FabricMC/fabric
i am good at this modding thing
This commit is contained in:
parent
7699ef9dc5
commit
9d0f790bfc
2 changed files with 1 additions and 6 deletions
|
@ -33,11 +33,6 @@ import java.util.List;
|
|||
public class FabricAPI implements ModInitializer {
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
List<String> 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) {
|
||||
|
|
|
@ -28,7 +28,7 @@ import java.util.Map;
|
|||
*/
|
||||
public class BlockEntityRendererRegistry {
|
||||
public static final BlockEntityRendererRegistry INSTANCE = new BlockEntityRendererRegistry();
|
||||
private Map<Class<? extends BlockEntity>, BlockEntityRenderer<? extends BlockEntity>> renderers;
|
||||
private Map<Class<? extends BlockEntity>, BlockEntityRenderer<? extends BlockEntity>> renderers = null;
|
||||
private Map<Class<? extends BlockEntity>, BlockEntityRenderer<? extends BlockEntity>> renderersTmp = new HashMap<>();
|
||||
|
||||
private BlockEntityRendererRegistry() {
|
||||
|
|
Loading…
Reference in a new issue