mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fix CannonKick Null Point Exception
This commit is contained in:
parent
f6dddbdde6
commit
164908e5e2
@ -26,6 +26,8 @@ public class CannonKickAction implements Runnable {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
if(this.cannon == null || this.room == null || this.room.getLayout() == null) return;
|
||||
|
||||
if (this.client != null) {
|
||||
this.client.getHabbo().getRoomUnit().setCanWalk(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user