mirror of
https://github.com/chylex/Minecraft-Server-Properties-Reload.git
synced 2025-05-02 12:34:02 +02:00
Revert change to defaultRequire mixin setting
This commit is contained in:
parent
d2ed153f7f
commit
b394afda78
src/main
@ -10,7 +10,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||
|
||||
@Mixin(Commands.class)
|
||||
public class CommandMixin {
|
||||
@Inject(method = "<init>", at = @At("RETURN"), require = 1)
|
||||
@Inject(method = "<init>", at = @At("RETURN"))
|
||||
private void init(final CommandSelection commandSelection, final CallbackInfo ci) {
|
||||
@SuppressWarnings("ConstantConditions")
|
||||
final Commands commands = (Commands)(Object)this;
|
||||
|
@ -13,5 +13,8 @@
|
||||
"PlayerListMixin",
|
||||
"PrimaryLevelDataMixin",
|
||||
"SettingsMixin"
|
||||
]
|
||||
],
|
||||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user