This commit is contained in:
parent
82b663ac31
commit
cf942fac9c
|
@ -168,7 +168,7 @@ public class LightingEngine {
|
||||||
if (current != ownerThread) {
|
if (current != ownerThread) {
|
||||||
final IllegalAccessException illegalAccessException = new IllegalAccessException(
|
final IllegalAccessException illegalAccessException = new IllegalAccessException(
|
||||||
String.format("World is owned by '%s' (ID: %s)," + " but was accessed from thread '%s' (ID: %s)",
|
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(
|
System.out.println(
|
||||||
"Something (likely another mod) has attempted to modify the world's state from the wrong thread!\n"
|
"Something (likely another mod) has attempted to modify the world's state from the wrong thread!\n"
|
||||||
|
|
Loading…
Reference in New Issue