removed double initialization from SP
This commit is contained in:
1 parent
1435b098e7
commit
a94596fb32
1 file changed
+2
-2
@@ -12,12 +12,12 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
|
||||
@Mixin(IntegratedServer.class)
|
||||
public class IntegratedServerMixin
|
||||
{
|
||||
@Inject(method = "setupServer", at = @At(
|
||||
/*@Inject(method = "setupServer", at = @At(
|
||||
value = "INVOKE",
|
||||
target = "Lnet/minecraft/server/integrated/IntegratedServer;loadWorld()V",
|
||||
shift = At.Shift.BEFORE
|
||||
))
|
||||
private void onSetupServerIntegrated(CallbackInfoReturnable<Boolean> cir) {
|
||||
CarpetServer.onServerLoaded((IntegratedServer) (Object) this);
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in new issue
Block a user