why is mob not getting alot of healt Plz Help

Discussion in 'Plugin Development' started by TheUpdater, Apr 27, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    TheUpdater

    Code:
                        EntityType s = EntityType.WOLF;
                        Wolf mob = (Wolf) Bukkit.getWorld(player1.getWorld().getName()).spawnEntity(player1.getLocation(), s);
                        mob.setHealth(999999);
     
  2. Offline

    FunnyItsElmo

    Try
    Code:
    mob.setMaxHealth(99999);
    ;)
     
Thread Status:
Not open for further replies.

Share This Page