From 4223536e49fa0f8f9cf6b1d15b1bc0add0b986c4 Mon Sep 17 00:00:00 2001 From: samo_lego <34912839+samolego@users.noreply.github.com> Date: Wed, 27 May 2020 12:06:30 +0200 Subject: [PATCH] variable typo fix --- src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java b/src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java index 74261d6..ea19273 100644 --- a/src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java +++ b/src/main/java/org/samo_lego/simpleauth/storage/PlayerCache.java @@ -38,7 +38,7 @@ public class PlayerCache { this.lastIp = player.getIp(); // Setting last coordinates - this.lastDimId = player.dimension.getRawId(); + this.lastDim = player.getEntityWorld().getDimension(); this.lastX = player.getX(); this.lastY = player.getY(); this.lastZ = player.getZ();