Too simple 1.21.4 Port

This commit is contained in:
skippyall
2025-01-30 21:23:34 +01:00
parent 8007778c39
commit d3b25b595a
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.21.3 minecraft_version=1.21.4
loader_version=0.16.7 loader_version=0.16.10
yarn_mappings=1.21.3+build.2 yarn_mappings=1.21.4+build.8
# Mod Properties # Mod Properties
mod_version = 0.1.2-SNAPSHOT mod_version = 0.1.2-SNAPSHOT
@@ -14,8 +14,8 @@ org.gradle.jvmargs=-Xmx1G
# Dependencies # Dependencies
# check this on https://modmuss50.me/fabric.html # check this on https://modmuss50.me/fabric.html
fabric_version=0.107.0+1.21.3 fabric_version=0.115.1+1.21.4
polymer_version=0.10.0+1.21.2 polymer_version=0.11.5+1.21.4
sgui_version=1.7.1+1.21.2 sgui_version=1.8.2+1.21.4
server_translations_version=2.4.0+1.21.2-rc1 server_translations_version=2.4.0+1.21.2-rc1
@@ -10,7 +10,7 @@ import org.spongepowered.asm.mixin.injection.ModifyArg;
@Mixin(PlayerListS2CPacket.Entry.class) @Mixin(PlayerListS2CPacket.Entry.class)
public class PlayerListEntryS2CPacket$EntryMixin { public class PlayerListEntryS2CPacket$EntryMixin {
@ModifyArg(method = "<init>(Lnet/minecraft/server/network/ServerPlayerEntity;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;<init>(Ljava/util/UUID;Lcom/mojang/authlib/GameProfile;ZILnet/minecraft/world/GameMode;Lnet/minecraft/text/Text;ILnet/minecraft/network/encryption/PublicPlayerSession$Serialized;)V")) @ModifyArg(method = "<init>(Lnet/minecraft/server/network/ServerPlayerEntity;)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;<init>(Ljava/util/UUID;Lcom/mojang/authlib/GameProfile;ZILnet/minecraft/world/GameMode;Lnet/minecraft/text/Text;ZILnet/minecraft/network/encryption/PublicPlayerSession$Serialized;)V"), index = 2)
private static boolean removeMinionFromTabList(boolean original, @Local(argsOnly = true) ServerPlayerEntity player) { private static boolean removeMinionFromTabList(boolean original, @Local(argsOnly = true) ServerPlayerEntity player) {
if(player instanceof MinionFakePlayer) { if(player instanceof MinionFakePlayer) {
return false; return false;