Skip to content

Commit

Permalink
not again this time
Browse files Browse the repository at this point in the history
  • Loading branch information
MCTian-mi committed Sep 14, 2024
1 parent 12dedde commit ad24013
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;

@Mixin(value = GuiTravelersBackpack.class, remap = false)
@Mixin(value = GuiTravelersBackpack.class)
public class GuiTravelersBackpackMixin {

@Redirect(method = "mouseClicked",
at = @At(value = "INVOKE",
target = "Lnet/minecraftforge/fml/common/network/simpleimpl/SimpleNetworkWrapper;sendToServer(Lnet/minecraftforge/fml/common/network/simpleimpl/IMessage;)V",
remap = false,
ordinal = 0))
protected void noBedsForYa(SimpleNetworkWrapper instance, IMessage nope) {}
}

0 comments on commit ad24013

Please sign in to comment.