Skip to content

Commit

Permalink
fix dream merge
Browse files Browse the repository at this point in the history
Signed-off-by: Lyfts <[email protected]>
  • Loading branch information
Lyfts committed Oct 29, 2024
1 parent da8494a commit 773ddf5
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/main/java/serverutils/mixin/Mixins.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@ public enum Mixins {

COMMAND_PERMISSIONS(new Builder("Command Permissions").addTargetedMod(VANILLA).setSide(Side.BOTH)
.setPhase(Phase.EARLY).setApplyIf(() -> ranks.enabled && ranks.command_permissions)
.addMixinClasses("minecraft.MixinCommandBase", "minecraft.MixinCommandHandler")),
.addMixinClasses("minecraft.MixinCommandBase", "minecraft.MixinCommandHandler", "minecraft.MixinICommand")),
VANILLA_TP_BACK_COMPAT(new Builder("/back compat for the vanilla /tp").addTargetedMod(VANILLA).setSide(Side.BOTH)
.setPhase(Phase.EARLY).setApplyIf(() -> commands.back).addMixinClasses("minecraft.MixinCommandTeleport")),;
.setPhase(Phase.EARLY).setApplyIf(() -> ranks.enabled && ranks.command_permissions).addMixinClasses(
"minecraft.MixinCommandBase",
"minecraft.MixinCommandHandler",
"minecraft.MixinICommand")),;

private final List<String> mixinClasses;
private final Supplier<Boolean> applyIf;
Expand Down

0 comments on commit 773ddf5

Please sign in to comment.