mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 12:02:48 +01:00
Prevent AgriCraft/InfinityLib crash
This commit is contained in:
parent
823520e047
commit
c97da3868f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ public class FastRenderDispatcher {
|
|||
|
||||
KineticRenderer kineticRenderer = CreateClient.KINETIC_RENDERER.get(world);
|
||||
|
||||
Entity renderViewEntity = mc.renderViewEntity;
|
||||
Entity renderViewEntity = mc.renderViewEntity != null ? mc.renderViewEntity : mc.player;
|
||||
kineticRenderer.tick(renderViewEntity.getX(), renderViewEntity.getY(), renderViewEntity.getZ());
|
||||
|
||||
ConcurrentHashMap.KeySetView<TileEntity, Boolean> map = queuedUpdates.get(world);
|
||||
|
|
Loading…
Reference in a new issue