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
|
// Player > Chicken
|
||||||
DisguiseChicken disguise = new DisguiseChicken(Player);
|
DisguiseChicken disguise = new DisguiseChicken(Player);
|
||||||
disguise.setBaby();
|
disguise.setBaby();
|
||||||
|
|
||||||
disguise.setInvisible(true);
|
disguise.setInvisible(true);
|
||||||
|
disguise.setLockPitch(true);
|
||||||
disguise.setSoundDisguise(new DisguiseCat(Player));
|
disguise.setSoundDisguise(new DisguiseCat(Player));
|
||||||
Host.Manager.GetDisguise().disguise(disguise);
|
Host.Manager.GetDisguise().disguise(disguise);
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ public class BlockForm extends Form
|
|||||||
MapUtil.QuickChangeBlockAt(_block.getLocation(), 0, (byte) 0);
|
MapUtil.QuickChangeBlockAt(_block.getLocation(), 0, (byte) 0);
|
||||||
_block = null;
|
_block = null;
|
||||||
|
|
||||||
EntityTrackerEntry tracker = (EntityTrackerEntry) ((WorldServer) ((CraftEntity) Player)
|
EntityTrackerEntry tracker = ((WorldServer) ((CraftEntity) Player)
|
||||||
.getHandle().world).tracker.trackedEntities.get(Player.getEntityId());
|
.getHandle().world).tracker.trackedEntities.get(Player.getEntityId());
|
||||||
|
|
||||||
if (tracker != null)
|
if (tracker != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user