Fixed glitching dom items in Hub due to portal throw.
This commit is contained in:
parent
d1578b12d4
commit
6efa416d81
@ -145,6 +145,8 @@ public class ServerManager extends MiniPlugin
|
||||
long timeUntilPortal = getMillisecondsUntilPortal(player, false);
|
||||
if (!_hubManager.CanPortal(player) || timeUntilPortal > 0)
|
||||
{
|
||||
player.closeInventory();
|
||||
|
||||
if (timeUntilPortal > 0)
|
||||
{
|
||||
player.playSound(player.getEyeLocation(), Sound.CHICKEN_EGG_POP, 2, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user