There was an error while loading. Please reload this page.
2 parents e67c202 + a894584 commit 48e464cCopy full SHA for 48e464c
1 file changed
core/src/main/java/be/isach/ultracosmetics/cosmetics/pets/Pet.java
@@ -220,12 +220,7 @@ protected void setupNameTag() {
220
armorStand.setCustomNameVisible(true);
221
FixedMetadataValue metadataValue = new FixedMetadataValue(getUltraCosmetics(), "C_AD_ArmorStand");
222
armorStand.setMetadata("C_AD_ArmorStand", metadataValue);
223
- setPassenger(entity, armorStand);
224
- }
225
-
226
- @SuppressWarnings("deprecation")
227
- private void setPassenger(Entity entity, Entity passenger) {
228
- entity.setPassenger(passenger);
+ entity.addPassenger(armorStand);
229
}
230
231
public void updateName() {
0 commit comments