Self disguises shouldn't glow or have sprint particles
This commit is contained in:
parent
6e112ea137
commit
b31fc3a251
@ -120,10 +120,8 @@ public class PacketListenerViewSelfDisguise extends PacketAdapter {
|
|||||||
if (watch.getIndex() == 0) {
|
if (watch.getIndex() == 0) {
|
||||||
byte b = (byte) watch.getValue();
|
byte b = (byte) watch.getValue();
|
||||||
|
|
||||||
byte a = (byte) (b | 1 << 5);
|
// Add invisibility, remove glowing, remove sprinting
|
||||||
|
byte a = (byte) (((b | 1 << 5) & ~(1 << 6)) & ~(1 << 3));
|
||||||
if ((b & 1 << 3) != 0)
|
|
||||||
a = (byte) (a | 1 << 3);
|
|
||||||
|
|
||||||
watch.setValue(a);
|
watch.setValue(a);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user