Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
This is why people should read over code :))
Dieser Commit ist enthalten in:
Ursprung
b226e94981
Commit
7d3e6bc7cb
@ -42,8 +42,8 @@ public class EntityPackets {
|
||||
public Void transform(PacketWrapper wrapper, Boolean inputValue) throws Exception {
|
||||
EntityTracker tracker = wrapper.user().get(EntityTracker.class);
|
||||
if (!inputValue) {
|
||||
int passenger = wrapper.get(Type.VAR_INT, 0);
|
||||
int vehicle = wrapper.get(Type.VAR_INT, 1);
|
||||
int passenger = wrapper.get(Type.INT, 0);
|
||||
int vehicle = wrapper.get(Type.INT, 1);
|
||||
|
||||
wrapper.cancel(); // Don't send current packet
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren