mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-25 14:34:28 +00:00
#1128 Server crashes with cauldron when teleporting
This commit is contained in:
1 parent
4fbaa11b69
commit
4395cbdf42
2 files changed
+3
-3
No files matched your search
@@ -66,8 +66,6 @@ public class TravelController {
|
||||
private double fovRad;
|
||||
|
||||
private double tanFovRad;
|
||||
|
||||
private Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
private final List<UniqueIdentifier> blackList = new ArrayList<GameRegistry.UniqueIdentifier>();
|
||||
|
||||
@@ -244,6 +242,7 @@ public class TravelController {
|
||||
@SubscribeEvent
|
||||
public void onRender(RenderWorldLastEvent event) {
|
||||
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
Vector3d eye = Util.getEyePositionEio(mc.thePlayer);
|
||||
Vector3d lookAt = Util.getLookVecEio(mc.thePlayer);
|
||||
lookAt.add(eye);
|
||||
|
||||
Reference in new issue
Block a user