mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 15:36:27 +01:00
Cleanup for last commit.
This commit is contained in:
parent
0dc6ebda10
commit
4c7ec55c60
@ -32,12 +32,9 @@ public class RoomUnitTeleport implements Runnable {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if (roomUnit == null || roomUnit.getRoom() == null)
|
||||
if (roomUnit == null || roomUnit.getRoom() == null || room.getLayout() == null)
|
||||
return;
|
||||
|
||||
if (room.getLayout() == null)
|
||||
return;
|
||||
|
||||
|
||||
RoomTile t = this.room.getLayout().getTile((short) this.x, (short) this.y);
|
||||
|
||||
HabboItem topItem = this.room.getTopItemAt(this.roomUnit.getCurrentLocation().x, this.roomUnit.getCurrentLocation().y);
|
||||
|
Loading…
Reference in New Issue
Block a user