Fixed players glitching to chests before game starts.
This commit is contained in:
parent
fb4d08931c
commit
ff1431b652
@ -204,6 +204,13 @@ public class PerkHorsePet extends Perk
|
|||||||
{
|
{
|
||||||
UtilPlayer.message(player, F.main("Mount", "This is not your Horse!"));
|
UtilPlayer.message(player, F.main("Mount", "This is not your Horse!"));
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!Manager.GetGame().IsLive())
|
||||||
|
{
|
||||||
|
event.setCancelled(true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user