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