mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Fix NullPointerException in TagGame
This commit is contained in:
parent
540d401838
commit
381f62eb63
@ -31,6 +31,8 @@ public abstract class TagGame extends Game {
|
||||
|
||||
@EventHandler
|
||||
public static void onUserLookAtPoint(RoomUnitLookAtPointEvent event) {
|
||||
if (event.room == null || event.roomUnit == null || event.location == null) return;
|
||||
|
||||
if (RoomLayout.tilesAdjecent(event.roomUnit.getCurrentLocation(), event.location)) {
|
||||
Habbo habbo = event.room.getHabbo(event.roomUnit);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user