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)
|
@Mixin(IntegratedServer.class)
|
||||||
public class IntegratedServerMixin
|
public class IntegratedServerMixin
|
||||||
{
|
{
|
||||||
@Inject(method = "setupServer", at = @At(
|
/*@Inject(method = "setupServer", at = @At(
|
||||||
value = "INVOKE",
|
value = "INVOKE",
|
||||||
target = "Lnet/minecraft/server/integrated/IntegratedServer;loadWorld()V",
|
target = "Lnet/minecraft/server/integrated/IntegratedServer;loadWorld()V",
|
||||||
shift = At.Shift.BEFORE
|
shift = At.Shift.BEFORE
|
||||||
))
|
))
|
||||||
private void onSetupServerIntegrated(CallbackInfoReturnable<Boolean> cir) {
|
private void onSetupServerIntegrated(CallbackInfoReturnable<Boolean> cir) {
|
||||||
CarpetServer.onServerLoaded((IntegratedServer) (Object) this);
|
CarpetServer.onServerLoaded((IntegratedServer) (Object) this);
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user