Skip to content

Commit

Permalink
Fix mixins problems
Browse files Browse the repository at this point in the history
  • Loading branch information
TonimatasDEV committed Apr 23, 2024
1 parent 1e35eae commit 27bd066
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
boolean connectivity = Hooks.isModLoaded("connectivity");
boolean krypton = Hooks.isModLoaded("krypton") || Hooks.isModLoaded("pluto");

if (mixinClassName.equalsIgnoreCase("dev.tonimatas.packetfixer.CompressionDecoderMixin")) {
if (mixinClassName.equalsIgnoreCase("dev.tonimatas.packetfixer.mixins.CompressionDecoderMixin")) {
if (connectivity) {
LogUtils.getLogger().warn("You are using connectivity for fix \"Badly compressed packet - size of \" + X + \" is larger than protocol maximum of 8388608\" if you have and issue with that delete connectivity.");
return false;
Expand Down

0 comments on commit 27bd066

Please sign in to comment.