Dieser Commit ist enthalten in:
Ursprung
0a6eccf70f
Commit
71f7264789
@ -40,6 +40,11 @@ public class ChatWrapper19 implements ChatWrapper {
|
|||||||
@Override
|
@Override
|
||||||
public Object modifyServerDataPacket(Object o) {
|
public Object modifyServerDataPacket(Object o) {
|
||||||
ClientboundServerDataPacket clientboundServerDataPacket = (ClientboundServerDataPacket) o;
|
ClientboundServerDataPacket clientboundServerDataPacket = (ClientboundServerDataPacket) o;
|
||||||
return new ClientboundServerDataPacket(clientboundServerDataPacket.b().get(),clientboundServerDataPacket.c().get(),true);
|
try{
|
||||||
|
o.getClass().getDeclaredField("c").setBoolean(clientboundServerDataPacket,true);
|
||||||
|
}catch (NoSuchFieldException | IllegalAccessException e) {
|
||||||
|
//ignore
|
||||||
|
}
|
||||||
|
return clientboundServerDataPacket;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren