mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 06:24:29 +01:00
Prevent AgriCraft/InfinityLib crash
This commit is contained in:
parent
823520e047
commit
c97da3868f
@ -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 New Issue
Block a user