Potentially fix weird crash.

This commit is contained in:
JozsefA 2021-03-25 14:48:42 -07:00
parent a56514c308
commit affb8abfbd

View File

@ -196,6 +196,8 @@ public abstract class InstancedTileRenderer<P extends BasicProgram> {
if (world == null) return false;
if (world.isAirBlock(tile.getPos())) return false;
if (world == Minecraft.getInstance().world) {
BlockPos pos = tile.getPos();