Fix: hide the magic walk tile
Thanks to AlfreviD
This commit is contained in:
parent
86243dc0a4
commit
15a399a263
@ -14,6 +14,7 @@ import com.eu.habbo.habbohotel.games.tag.IceTagGame;
|
||||
import com.eu.habbo.habbohotel.games.tag.RollerskateGame;
|
||||
import com.eu.habbo.habbohotel.games.wired.WiredGame;
|
||||
import com.eu.habbo.habbohotel.guilds.Guild;
|
||||
import com.eu.habbo.habbohotel.items.interactions.InteractionTileWalkMagic;
|
||||
import com.eu.habbo.habbohotel.items.interactions.InteractionWired;
|
||||
import com.eu.habbo.habbohotel.messenger.MessengerBuddy;
|
||||
import com.eu.habbo.habbohotel.navigation.NavigatorFilterComparator;
|
||||
@ -804,10 +805,8 @@ public class RoomManager {
|
||||
}
|
||||
}
|
||||
|
||||
allFloorItems.forEach(new TObjectProcedure<HabboItem>() {
|
||||
@Override
|
||||
public boolean execute(HabboItem object) {
|
||||
if (room.isHideWired() && object instanceof InteractionWired)
|
||||
allFloorItems.forEach(object -> {
|
||||
if (room.isHideWired() && object instanceof InteractionWired | object instanceof InteractionTileWalkMagic)
|
||||
return true;
|
||||
|
||||
floorItems.add(object);
|
||||
@ -815,9 +814,7 @@ public class RoomManager {
|
||||
habbo.getClient().sendResponse(new RoomFloorItemsComposer(room.getFurniOwnerNames(), floorItems));
|
||||
floorItems.clear();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
habbo.getClient().sendResponse(new RoomFloorItemsComposer(room.getFurniOwnerNames(), floorItems));
|
||||
|
Loading…
x
Reference in New Issue
Block a user