mirror of
https://github.com/TheWhiteDog9487/RandomTeleporter.git
synced 2026-03-27 20:56:10 +08:00
committed by
TheWhiteDog9487
parent
c579c266a5
commit
2f5e154cc4
@@ -8,7 +8,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(MinecraftServer.class)
|
||||
public class ExampleMixin {
|
||||
@Inject(at = @At("HEAD"), method = "loadWorld")
|
||||
@Inject(at = @At("HEAD"), method = "loadLevel")
|
||||
private void init(CallbackInfo info) {
|
||||
// This code is injected into the start of MinecraftServer.loadWorld()V
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user