Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Fixed single line if statements
Dieser Commit ist enthalten in:
Ursprung
522dc864de
Commit
8fd4632d07
@ -41,7 +41,9 @@ public class BedrockAnimateTranslator extends PacketTranslator<AnimatePacket> {
|
||||
@Override
|
||||
public void translate(AnimatePacket packet, GeyserSession session) {
|
||||
// Stop the player sending animations before they have fully spawned into the server
|
||||
if (!session.isSpawned()) { return; }
|
||||
if (!session.isSpawned()) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (packet.getAction()) {
|
||||
case SWING_ARM:
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren