Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Fix future entity equip reading
Dieser Commit ist enthalten in:
Ursprung
f570e77325
Commit
4c7cf56655
@ -455,7 +455,8 @@ public abstract class Protocol<C1 extends ClientboundPacketType, C2 extends Clie
|
||||
}
|
||||
}
|
||||
|
||||
public @Nullable <T> T get(Class<T> objectClass) {
|
||||
@Nullable
|
||||
public <T> T get(Class<T> objectClass) {
|
||||
return (T) storedObjects.get(objectClass);
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ public class ItemRewriter {
|
||||
handler(wrapper -> {
|
||||
byte slot;
|
||||
do {
|
||||
slot = wrapper.read(Type.BYTE);
|
||||
slot = wrapper.passthrough(Type.BYTE);
|
||||
// & 0x7F into an extra variable if slot is needed
|
||||
toClient.rewrite(wrapper.passthrough(type));
|
||||
} while ((slot & 0xFFFFFF80) != 0);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren