- Updates
This commit is contained in:
parent
138c900484
commit
6385aacbac
|
@ -55,7 +55,7 @@ public class TeamBeacon
|
|||
if (player.getLocation().distance(_core) < 15)
|
||||
{
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.SPEED, 5 * 20, 0));
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 5 * 20, 0));
|
||||
//player.addPotionEffect(new PotionEffect(PotionEffectType.INCREASE_DAMAGE, 5 * 20, 0));
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 5 * 20, 0));
|
||||
player.addPotionEffect(new PotionEffect(PotionEffectType.DAMAGE_RESISTANCE, 5 * 20, 0));
|
||||
}
|
||||
|
|
|
@ -113,7 +113,7 @@ public class WitherMinionManager implements Listener
|
|||
e.setCustomName(C.cRed + "Wither Skeleton");
|
||||
((CraftSkeleton)e).getEquipment().setChestplate(new ItemStack(Material.IRON_CHESTPLATE));
|
||||
((CraftSkeleton)e).getEquipment().setLeggings(new ItemStack(Material.IRON_LEGGINGS));
|
||||
((Skeleton)e).addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 9999999, 1));
|
||||
((Skeleton)e).addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 9999999, 3));
|
||||
|
||||
UtilTextMiddle.display("", C.cGray + "A Wither Skeleton has spawned!");
|
||||
_selected = -1;
|
||||
|
|
|
@ -33,6 +33,8 @@ public class SecondaryDamageManager implements Listener
|
|||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
if (!(event.getEntity() instanceof LivingEntity))
|
||||
return;
|
||||
|
||||
LivingEntity ent = (LivingEntity) event.getEntity();
|
||||
if (ent.getWorld().getName().equals("world"))
|
||||
|
|
Loading…
Reference in New Issue