mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Fix NullPointerException in getLowestChair
This commit is contained in:
parent
661fe4879e
commit
00408eeaaf
@ -3426,6 +3426,8 @@ public class Room implements Comparable<Room>, ISerialize, Runnable {
|
||||
|
||||
@Deprecated
|
||||
public HabboItem getLowestChair(int x, int y) {
|
||||
if (this.layout == null) return null;
|
||||
|
||||
RoomTile tile = this.layout.getTile((short) x, (short) y);
|
||||
|
||||
if (tile != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user