diff --git a/src/main/java/com/github/lunatrius/schematica/client/renderer/RenderSchematic.java b/src/main/java/com/github/lunatrius/schematica/client/renderer/RenderSchematic.java index 1a9dba8d..157c4e5f 100644 --- a/src/main/java/com/github/lunatrius/schematica/client/renderer/RenderSchematic.java +++ b/src/main/java/com/github/lunatrius/schematica/client/renderer/RenderSchematic.java @@ -234,7 +234,7 @@ public void setWorldAndLoadRenderers(@Nullable final SchematicWorld world) { @SubscribeEvent public void onRenderWorldLast(final RenderWorldLastEvent event) { - final EntityPlayerSP player = this.mc.player; + final EntityPlayerSP player = this.mc.getRenderViewEntity() instanceof EntityPlayerSP ? (EntityPlayerSP) this.mc.getRenderViewEntity() : this.mc.player; if (player != null) { this.profiler.startSection("schematica"); ClientProxy.setPlayerData(player, event.getPartialTicks());