Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 01:40:06 +01:00
Restore mixin generic
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren