mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 07:37:43 +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.PacketDelTeamEntityNotify;
|
||||||
import emu.grasscutter.server.packet.send.PacketPlayerChatNotify;
|
import emu.grasscutter.server.packet.send.PacketPlayerChatNotify;
|
||||||
import emu.grasscutter.server.packet.send.PacketPlayerGameTimeNotify;
|
import emu.grasscutter.server.packet.send.PacketPlayerGameTimeNotify;
|
||||||
import lombok.Getter;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
@Getter
|
@Getter
|
||||||
public class HomeWorld extends World {
|
public class HomeWorld extends World {
|
||||||
@ -62,7 +61,9 @@ public class HomeWorld extends World {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public int getActiveIndoorSceneId() {
|
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() {
|
public boolean isRealmIdValid() {
|
||||||
|
Loading…
Reference in New Issue
Block a user