Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Ursprung
851295d48c
Commit
9b09b1f5f8
@ -206,7 +206,7 @@ public class EntityPackets {
|
||||
@Override
|
||||
public void register() {
|
||||
map(Type.INT); // Entity ID
|
||||
map(Type.BYTE); // Gamemode
|
||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
||||
handler(wrapper -> {
|
||||
wrapper.write(Type.BYTE, (byte) -1); // Previous gamemode, set to none
|
||||
wrapper.write(Type.STRING_ARRAY, Arrays.copyOf(WORLD_NAMES, WORLD_NAMES.length)); // World list - only used for command completion
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren