mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fixed Teleports crashing. Credits to ArpyAge for helping.
This commit is contained in:
parent
e6c5339439
commit
6111ce6be2
@ -205,7 +205,7 @@ public class InteractionTeleport extends HabboItem {
|
|||||||
if (habbo.getHabboInfo().getRiding() != null)
|
if (habbo.getHabboInfo().getRiding() != null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return this.roomUnitID == -1 || this.roomUnitID == unit.getId();
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void startTeleport(Room room, Habbo habbo) {
|
public void startTeleport(Room room, Habbo habbo) {
|
||||||
|
Loading…
Reference in New Issue
Block a user