sorry mommy
This commit is contained in:
parent
fab391f782
commit
62dd5554eb
1 changed files with 0 additions and 2 deletions
|
@ -194,8 +194,6 @@ public class Main extends JavaPlugin implements Listener, CommandExecutor {
|
||||||
LivingEntity passenger = (LivingEntity) pos.getWorld().spawnEntity(pos, EntityType.HUSK);
|
LivingEntity passenger = (LivingEntity) pos.getWorld().spawnEntity(pos, EntityType.HUSK);
|
||||||
new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1)
|
new PotionEffect(PotionEffectType.INVISIBILITY, Integer.MAX_VALUE, 1)
|
||||||
.apply((LivingEntity) passenger);
|
.apply((LivingEntity) passenger);
|
||||||
//passenger.setCustomName("Giant");
|
|
||||||
passenger.setCustomNameVisible(false);
|
|
||||||
passenger.setInvulnerable(true);
|
passenger.setInvulnerable(true);
|
||||||
passenger.setPersistent(true);
|
passenger.setPersistent(true);
|
||||||
passenger.setMetadata("giant", new FixedMetadataValue(this, "y"));
|
passenger.setMetadata("giant", new FixedMetadataValue(this, "y"));
|
||||||
|
|
Loading…
Reference in a new issue