Lock the pitch of BlockForm
This commit is contained in:
parent
1b8f01d4d5
commit
5a8ca2f387
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user