Skip to content

Commit

Permalink
fix: remove some mixin remap warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Oct 3, 2024
1 parent a7b8732 commit da88188
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

import java.util.function.Predicate;

@Mixin(HypixelModAPI.class)
@Mixin(value = HypixelModAPI.class, remap = false)
public interface AccessorHypixelModAPI {
@Accessor
Predicate<HypixelPacket> getPacketSender();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

import java.util.Map;

@Mixin(PacketRegistry.class)
@Mixin(value = PacketRegistry.class, remap = false)
public interface AccessorHypixelPacketRegistry {
@Accessor
Map<Class<? extends HypixelPacket>, String> getClassToIdentifier();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

@Mixin(value = ClientCommandHandler.class)
public abstract class MixinClientCommandHandler extends CommandHandler implements AccessorCommandHandler {
@Inject(method = "<init>", at = @At("RETURN"))
@Inject(method = "<init>", at = @At("RETURN"), remap = false)
private void hijackCommandHandler(CallbackInfo ci) {
ObservableSet<ICommand> hijacked = new ObservableSet<>(this.getCommandSet());
NamespacedCommands.INSTANCE.setup(hijacked);
Expand Down

0 comments on commit da88188

Please sign in to comment.