mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Stop prayer head icon showing on 377 clients.
This commit is contained in:
@@ -135,7 +135,7 @@ public final class Player extends Mob {
|
||||
/**
|
||||
* This player's prayer icon.
|
||||
*/
|
||||
private int prayerIcon = 0;
|
||||
private int prayerIcon = -1;
|
||||
|
||||
/**
|
||||
* The privilege level.
|
||||
|
||||
@@ -120,7 +120,7 @@ public final class PlayerSynchronizationEventEncoder extends EventEncoder<Player
|
||||
GamePacketBuilder playerProperties = new GamePacketBuilder();
|
||||
|
||||
playerProperties.put(DataType.BYTE, appearance.getGender().toInteger());
|
||||
playerProperties.put(DataType.BYTE, block.getPrayerIcon());
|
||||
playerProperties.put(DataType.BYTE, 0);
|
||||
|
||||
if (block.appearingAsNpc()) {
|
||||
playerProperties.put(DataType.BYTE, 255);
|
||||
|
||||
Reference in New Issue
Block a user