diff --git a/src/main/java/net/hoosiertransfer/Alfheim/lighting/LightingEngine.java b/src/main/java/net/hoosiertransfer/Alfheim/lighting/LightingEngine.java index d6255d7..b69a9aa 100644 --- a/src/main/java/net/hoosiertransfer/Alfheim/lighting/LightingEngine.java +++ b/src/main/java/net/hoosiertransfer/Alfheim/lighting/LightingEngine.java @@ -168,7 +168,7 @@ public class LightingEngine { if (current != ownerThread) { final IllegalAccessException illegalAccessException = new IllegalAccessException( String.format("World is owned by '%s' (ID: %s)," + " but was accessed from thread '%s' (ID: %s)", - ownerThread.getName(), ownerThread.threadId(), current.getName(), current.threadId())); + ownerThread.getName(), ownerThread.getId(), current.getName(), current.getId())); System.out.println( "Something (likely another mod) has attempted to modify the world's state from the wrong thread!\n"