mirror of
https://github.com/chylex/Minecraft-Server-Properties-Reload.git
synced 2025-05-19 17:34:12 +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)
|
@Mixin(Commands.class)
|
||||||
public class CommandMixin {
|
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) {
|
private void init(final CommandSelection commandSelection, final CallbackInfo ci) {
|
||||||
@SuppressWarnings("ConstantConditions")
|
@SuppressWarnings("ConstantConditions")
|
||||||
final Commands commands = (Commands)(Object)this;
|
final Commands commands = (Commands)(Object)this;
|
||||||
|
@ -13,5 +13,8 @@
|
|||||||
"PlayerListMixin",
|
"PlayerListMixin",
|
||||||
"PrimaryLevelDataMixin",
|
"PrimaryLevelDataMixin",
|
||||||
"SettingsMixin"
|
"SettingsMixin"
|
||||||
]
|
],
|
||||||
|
"injectors": {
|
||||||
|
"defaultRequire": 1
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user