From 5a8ca2f3878a107ea061bb58e34a4ed29430a472 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 4 May 2018 00:57:33 +0100 Subject: [PATCH] Lock the pitch of BlockForm --- .../game/arcade/game/games/hideseek/forms/BlockForm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/forms/BlockForm.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/forms/BlockForm.java index 4108ba791..210460018 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/forms/BlockForm.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/hideseek/forms/BlockForm.java @@ -91,8 +91,8 @@ public class BlockForm extends Form // Player > Chicken DisguiseChicken disguise = new DisguiseChicken(Player); disguise.setBaby(); - disguise.setInvisible(true); + disguise.setLockPitch(true); disguise.setSoundDisguise(new DisguiseCat(Player)); Host.Manager.GetDisguise().disguise(disguise); @@ -327,7 +327,7 @@ public class BlockForm extends Form MapUtil.QuickChangeBlockAt(_block.getLocation(), 0, (byte) 0); _block = null; - EntityTrackerEntry tracker = (EntityTrackerEntry) ((WorldServer) ((CraftEntity) Player) + EntityTrackerEntry tracker = ((WorldServer) ((CraftEntity) Player) .getHandle().world).tracker.trackedEntities.get(Player.getEntityId()); if (tracker != null)