1
0
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:
chylex 2021-11-09 16:54:23 +01:00
parent d2ed153f7f
commit b394afda78
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
2 changed files with 5 additions and 2 deletions
src/main
java/chylex/serverproperties/mixin
resources

View File

@ -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;

View File

@ -13,5 +13,8 @@
"PlayerListMixin",
"PrimaryLevelDataMixin",
"SettingsMixin"
]
],
"injectors": {
"defaultRequire": 1
}
}