mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-04 20:06:06 +00:00
Restore mixin generic
This commit is contained in:
parent
a273e27eda
commit
3093c45675
@ -20,6 +20,7 @@
|
|||||||
package com.sk89q.worldedit.fabric.mixin;
|
package com.sk89q.worldedit.fabric.mixin;
|
||||||
|
|
||||||
import com.sk89q.worldedit.extension.platform.Watchdog;
|
import com.sk89q.worldedit.extension.platform.Watchdog;
|
||||||
|
import net.minecraft.server.ServerTask;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.util.NonBlockingThreadExecutor;
|
import net.minecraft.util.NonBlockingThreadExecutor;
|
||||||
import net.minecraft.util.SystemUtil;
|
import net.minecraft.util.SystemUtil;
|
||||||
@ -27,7 +28,7 @@ import org.spongepowered.asm.mixin.Mixin;
|
|||||||
import org.spongepowered.asm.mixin.Shadow;
|
import org.spongepowered.asm.mixin.Shadow;
|
||||||
|
|
||||||
@Mixin(MinecraftServer.class)
|
@Mixin(MinecraftServer.class)
|
||||||
public abstract class MixinMinecraftServer extends NonBlockingThreadExecutor implements Watchdog {
|
public abstract class MixinMinecraftServer extends NonBlockingThreadExecutor<ServerTask> implements Watchdog {
|
||||||
|
|
||||||
public MixinMinecraftServer(String name) {
|
public MixinMinecraftServer(String name) {
|
||||||
super(name);
|
super(name);
|
||||||
|
Loading…
Reference in New Issue
Block a user