Fixed disguiseNextEntity

This commit is contained in:
libraryaddict
2020-04-22 14:06:04 +12:00
parent 1d9d420c81
commit 7f65d8c8f1
3 changed files with 18 additions and 6 deletions

View File

@@ -70,10 +70,6 @@ public class PacketHandlerSpawn implements IPacketHandler {
private void constructSpawnPackets(final Player observer, LibsPackets packets, Entity disguisedEntity) {
Disguise disguise = packets.getDisguise();
if (disguise.getEntity() == null) {
disguise.setEntity(disguisedEntity);
}
if (DisguiseConfig.isMiscDisguisesForLivingEnabled()) {
if (disguise.getWatcher() instanceof LivingWatcher) {