mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 00:45:34 +00:00
Format code [skip actions]
This commit is contained in:
parent
c9a43a5e98
commit
ad62b6b11d
@ -11,10 +11,9 @@ import emu.grasscutter.server.game.GameServer;
|
||||
import emu.grasscutter.server.packet.send.PacketDelTeamEntityNotify;
|
||||
import emu.grasscutter.server.packet.send.PacketPlayerChatNotify;
|
||||
import emu.grasscutter.server.packet.send.PacketPlayerGameTimeNotify;
|
||||
import lombok.Getter;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class HomeWorld extends World {
|
||||
@ -62,7 +61,9 @@ public class HomeWorld extends World {
|
||||
}
|
||||
|
||||
public int getActiveIndoorSceneId() {
|
||||
return this.isRealmIdValid() ? this.getSceneById(this.getActiveOutdoorSceneId()).getSceneItem().getRoomSceneId() : -1;
|
||||
return this.isRealmIdValid()
|
||||
? this.getSceneById(this.getActiveOutdoorSceneId()).getSceneItem().getRoomSceneId()
|
||||
: -1;
|
||||
}
|
||||
|
||||
public boolean isRealmIdValid() {
|
||||
|
Loading…
Reference in New Issue
Block a user