Combine all versions into a single tree
This commit is contained in:
@@ -26,7 +26,11 @@ public abstract class MixinMinecraft {
|
||||
&& ReplayModReplay.instance.getReplayHandler() != null) {
|
||||
for (StackTraceElement elem : Thread.currentThread().getStackTrace()) {
|
||||
if ("mapwriter.util.Utils".equals(elem.getClassName()) && "getWorldName".equals(elem.getMethodName())) {
|
||||
//#if MC>=10809
|
||||
ci.setReturnValue(new ServerData(null, "replay", false));
|
||||
//#else
|
||||
//$$ ci.setReturnValue(new ServerData(null, "replay"));
|
||||
//#endif
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user