diff --git a/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerCapabilities.java b/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerCapabilities.java index b4a40028..843910f0 100644 --- a/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerCapabilities.java +++ b/src/main/java/com/minelittlepony/unicopia/network/MsgPlayerCapabilities.java @@ -55,6 +55,7 @@ public class MsgPlayerCapabilities implements Channel.Packet { Pony player = getRecipient(sender); if (player == null) { Unicopia.LOGGER.warn("Skipping capabilities for unknown player " + playerId.toString()); + return; } if (compoundTag.isEmpty()) { player.setSpecies(newRace);