Merge branch 'master' of ssh://184.154.0.242:25565/min/mineplex into william-gladiators

# Conflicts:
#	Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/PerkCowAngryHerd.java
This commit is contained in:
William Burns 2015-12-08 13:13:18 +00:00
commit 4e2a422f27

View File

@ -87,11 +87,8 @@ public class PerkCowAngryHerd extends SmashPerk
loc.add(UtilAlg.getLeft(dir).multiply(i*1.5));
Manager.GetGame().CreatureAllowOverride = true;
Cow cow;
if (isSuperActive(player))
cow = player.getWorld().spawn(loc, MushroomCow.class);
else
cow = player.getWorld().spawn(loc, Cow.class);
Class<? extends Cow> clazz = isSuperActive(player) ? MushroomCow.class : Cow.class;
Cow cow = player.getWorld().spawn(loc, clazz);
Manager.GetGame().CreatureAllowOverride = false;
_active.add(new DataCowCharge(player, cow));