Fixed Cows being able to fly if they had the Rabbit Farmer kit

This commit is contained in:
AlexTheCoder 2015-08-05 03:07:19 -04:00
parent a86fdc3c21
commit cc24bb78d3

View File

@ -299,6 +299,10 @@ public class MilkCow extends SoloGame
//Refresh //Refresh
VisibilityManager.Instance.refreshPlayerToAll(player); VisibilityManager.Instance.refreshPlayerToAll(player);
//Turn off flight
player.setAllowFlight(false);
player.setFlying(false);
if (forced) if (forced)
{ {
AddGems(player, 10, "Forced Cow", false, false); AddGems(player, 10, "Forced Cow", false, false);