minecraft-src/net/minecraft/server/RunningOnDifferentThreadException.java
2025-07-04 01:41:11 +03:00

14 lines
457 B
Java

package net.minecraft.server;
public final class RunningOnDifferentThreadException extends RuntimeException {
public static final RunningOnDifferentThreadException RUNNING_ON_DIFFERENT_THREAD = new RunningOnDifferentThreadException();
private RunningOnDifferentThreadException() {
this.setStackTrace(new StackTraceElement[0]);
}
public synchronized Throwable fillInStackTrace() {
this.setStackTrace(new StackTraceElement[0]);
return this;
}
}