mirror of
https://github.com/ViaVersion/ViaFabricPlus.git
synced 2024-11-22 11:56:21 +01:00
moved mixin class, removed new warning in 1.20 -> 1.19.4
This commit is contained in:
parent
45c8f03912
commit
740a439eff
@ -15,7 +15,7 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft;
|
||||
package de.florianmichael.viafabricplus.injection.mixin.fixes.minecraft.entity;
|
||||
|
||||
import de.florianmichael.viafabricplus.settings.impl.VisualSettings;
|
||||
import net.minecraft.client.model.ModelPart;
|
@ -160,4 +160,9 @@ public abstract class MixinClientPlayNetworkHandler {
|
||||
}
|
||||
return instance.getRecipes();
|
||||
}
|
||||
|
||||
@WrapWithCondition(method = "setPublicSession", at = @At(value = "INVOKE", target = "Lorg/slf4j/Logger;warn(Ljava/lang/String;Ljava/lang/Object;)V", remap = false))
|
||||
public boolean removeInvalidSignatureWarning(Logger instance, String s, Object o) {
|
||||
return ProtocolHack.getTargetVersion().isNewerThanOrEqualTo(VersionEnum.r1_19_4);
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@
|
||||
"compat.sodium.MixinChunkTracker",
|
||||
"fixes.authlib.MixinKeyPairResponse",
|
||||
"fixes.authlib.MixinYggdrasilUserApiService",
|
||||
"fixes.minecraft.MixinBipedEntityModel",
|
||||
"fixes.minecraft.entity.MixinBipedEntityModel",
|
||||
"fixes.minecraft.input.MixinCamera",
|
||||
"fixes.minecraft.MixinClientPlayerInteractionManager",
|
||||
"fixes.minecraft.MixinDrawContext",
|
||||
|
Loading…
Reference in New Issue
Block a user