WrappedPacketOutPlayerInfo was removed in 1.19.3

This commit is contained in:
retrooper committed 2022-12-11 00:07:06 +01:00
1 parent d52a96722d
commit 39ec3dc117
1 file changed
+8
@@ -201,6 +201,14 @@ public class WrappedPacketOutPlayerInfo extends WrappedPacket implements Sendabl
return packetInstance;
}
@Override
public boolean isSupported() {
//1.19.3 removed this packet and replaced it with PlayerInfoRemove & PlayerInfoUpdate
//TODO Since this is a minimal update, we won't add those. v1.8 will eventually be discontinued
//so please consider updating to 2.0
return version.isOlderThanOrEquals(ServerVersion.v_1_19_2);
}
public enum PlayerInfoAction {
ADD_PLAYER,
UPDATE_GAME_MODE,