sorry mommy

This commit is contained in:
Minecon724 2022-10-10 17:23:50 +02:00
parent fab391f782
commit 62dd5554eb

View file

@ -194,8 +194,6 @@ public class Main extends JavaPlugin implements Listener, CommandExecutor {
LivingEntity passenger = (LivingEntity) pos.getWorld().spawnEntity(pos, EntityType.HUSK);
new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1)
.apply((LivingEntity) passenger);
//passenger.setCustomName("Giant");
passenger.setCustomNameVisible(false);
passenger.setInvulnerable(true);
passenger.setPersistent(true);
passenger.setMetadata("giant", new FixedMetadataValue(this, "y"));