From cf942fac9c012705145951aede370e13026952f7 Mon Sep 17 00:00:00 2001 From: HoosierTransfer <97118529+HoosierTransfer@users.noreply.github.com> Date: Mon, 6 May 2024 17:19:01 -0400 Subject: [PATCH] a --- .../net/hoosiertransfer/Alfheim/lighting/LightingEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"