mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 08:39:17 +00:00
Fix skull being shown overhead always.
This commit is contained in:
@@ -120,7 +120,7 @@ public final class PlayerSynchronizationEventEncoder extends EventEncoder<Player
|
|||||||
GamePacketBuilder playerProperties = new GamePacketBuilder();
|
GamePacketBuilder playerProperties = new GamePacketBuilder();
|
||||||
|
|
||||||
playerProperties.put(DataType.BYTE, appearance.getGender().toInteger());
|
playerProperties.put(DataType.BYTE, appearance.getGender().toInteger());
|
||||||
playerProperties.put(DataType.BYTE, block.isSkulled() ? 1 : 0);
|
playerProperties.put(DataType.BYTE, block.isSkulled() ? 1 : -1);
|
||||||
playerProperties.put(DataType.BYTE, block.getHeadIcon());
|
playerProperties.put(DataType.BYTE, block.getHeadIcon());
|
||||||
|
|
||||||
if (block.appearingAsNpc()) {
|
if (block.appearingAsNpc()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user