Potentially fix weird crash.
This commit is contained in:
parent
a56514c308
commit
affb8abfbd
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue