mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:45:10 +01:00
Potentially fix weird crash.
This commit is contained in:
parent
a56514c308
commit
affb8abfbd
@ -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 New Issue
Block a user