mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-08-24 23:12:51 +02:00
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) {
|
||||
byte b = (byte) watch.getValue();
|
||||
|
||||
byte a = (byte) (b | 1 << 5);
|
||||
|
||||
if ((b & 1 << 3) != 0)
|
||||
a = (byte) (a | 1 << 3);
|
||||
// Add invisibility, remove glowing, remove sprinting
|
||||
byte a = (byte) (((b | 1 << 5) & ~(1 << 6)) & ~(1 << 3));
|
||||
|
||||
watch.setValue(a);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user