mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
add checks
This commit is contained in:
parent
7ed20f1386
commit
b97aeca766
@ -37,7 +37,7 @@ public class BattleBanzaiGameTeam extends GameTeam {
|
||||
Game game = habbo.getHabboInfo().getCurrentRoom().getGame(FreezeGame.class);
|
||||
RoomUnit roomUnit = habbo.getRoomUnit();
|
||||
Room room = roomUnit.getRoom();
|
||||
|
||||
if(room == null) return;
|
||||
HabboItem topItem = room.getTopItemAt(roomUnit.getCurrentLocation().x, roomUnit.getCurrentLocation().y);
|
||||
int nextEffectM = 0;
|
||||
int nextEffectF = 0;
|
||||
|
@ -27,6 +27,7 @@ public class FreezeGameTeam extends GameTeam {
|
||||
Game game = habbo.getHabboInfo().getCurrentRoom().getGame(FreezeGame.class);
|
||||
RoomUnit roomUnit = habbo.getRoomUnit();
|
||||
Room room = roomUnit.getRoom();
|
||||
if(room == null) return;
|
||||
|
||||
HabboItem topItem = room.getTopItemAt(roomUnit.getCurrentLocation().x, roomUnit.getCurrentLocation().y);
|
||||
int nextEffectM = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user