Fixed players glitching to chests before game starts.

This commit is contained in:
Mysticate 2015-10-09 10:21:35 -04:00
parent fb4d08931c
commit ff1431b652
1 changed files with 7 additions and 0 deletions

View File

@ -204,6 +204,13 @@ public class PerkHorsePet extends Perk
{
UtilPlayer.message(player, F.main("Mount", "This is not your Horse!"));
event.setCancelled(true);
return;
}
if (!Manager.GetGame().IsLive())
{
event.setCancelled(true);
return;
}
}
}