mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-29 08:27:03 +01:00
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 == null) return false;
|
||||||
|
|
||||||
|
if (world.isAirBlock(tile.getPos())) return false;
|
||||||
|
|
||||||
if (world == Minecraft.getInstance().world) {
|
if (world == Minecraft.getInstance().world) {
|
||||||
BlockPos pos = tile.getPos();
|
BlockPos pos = tile.getPos();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue