From c50d5535c6476e964c519576233477acbe20ba8e Mon Sep 17 00:00:00 2001 From: Sollace Date: Sat, 7 Aug 2021 22:32:13 +0200 Subject: [PATCH] Fixed disguises --- .../com/minelittlepony/unicopia/entity/behaviour/Disguise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/behaviour/Disguise.java b/src/main/java/com/minelittlepony/unicopia/entity/behaviour/Disguise.java index 39a45dde..f51b9233 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/behaviour/Disguise.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/behaviour/Disguise.java @@ -311,7 +311,7 @@ public class Disguise implements NbtSerialisable { entityNbt.put("playerNbt", tag); } else { - entity.writeNbt(entityNbt); + entity.saveSelfNbt(entityNbt); } return entityNbt;