You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-20 23:36:19 +00:00
🆙 Fix Pickall
This commit is contained in:
@@ -15,25 +15,19 @@ import com.eu.habbo.habbohotel.items.interactions.games.tag.InteractionTagField;
|
|||||||
import com.eu.habbo.habbohotel.items.interactions.games.tag.InteractionTagPole;
|
import com.eu.habbo.habbohotel.items.interactions.games.tag.InteractionTagPole;
|
||||||
import com.eu.habbo.habbohotel.items.interactions.pets.*;
|
import com.eu.habbo.habbohotel.items.interactions.pets.*;
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.effects.WiredEffectSendSignal;
|
import com.eu.habbo.habbohotel.items.interactions.wired.effects.WiredEffectSendSignal;
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredBlob;
|
import com.eu.habbo.habbohotel.items.interactions.wired.extra.*;
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraFurniVariable;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraRoomVariable;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraUserVariable;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraVariableEcho;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraVariableReference;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraVariableTextConnector;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.extra.WiredExtraContextVariable;
|
|
||||||
import com.eu.habbo.habbohotel.wired.core.WiredContextVariableSupport;
|
|
||||||
import com.eu.habbo.habbohotel.items.interactions.wired.triggers.WiredTriggerReceiveSignal;
|
import com.eu.habbo.habbohotel.items.interactions.wired.triggers.WiredTriggerReceiveSignal;
|
||||||
import com.eu.habbo.habbohotel.permissions.Permission;
|
import com.eu.habbo.habbohotel.permissions.Permission;
|
||||||
import com.eu.habbo.habbohotel.users.Habbo;
|
import com.eu.habbo.habbohotel.users.Habbo;
|
||||||
import com.eu.habbo.habbohotel.users.HabboInfo;
|
import com.eu.habbo.habbohotel.users.HabboInfo;
|
||||||
import com.eu.habbo.habbohotel.users.HabboItem;
|
import com.eu.habbo.habbohotel.users.HabboItem;
|
||||||
import com.eu.habbo.habbohotel.users.HabboManager;
|
import com.eu.habbo.habbohotel.users.HabboManager;
|
||||||
|
import com.eu.habbo.habbohotel.wired.core.WiredContextVariableSupport;
|
||||||
import com.eu.habbo.habbohotel.wired.core.WiredManager;
|
import com.eu.habbo.habbohotel.wired.core.WiredManager;
|
||||||
import com.eu.habbo.habbohotel.wired.core.WiredMovementPhysics;
|
import com.eu.habbo.habbohotel.wired.core.WiredMovementPhysics;
|
||||||
import com.eu.habbo.habbohotel.wired.tick.WiredTickable;
|
import com.eu.habbo.habbohotel.wired.tick.WiredTickable;
|
||||||
import com.eu.habbo.messages.outgoing.inventory.AddHabboItemComposer;
|
import com.eu.habbo.messages.outgoing.inventory.AddHabboItemComposer;
|
||||||
|
import com.eu.habbo.messages.outgoing.inventory.InventoryRefreshComposer;
|
||||||
import com.eu.habbo.messages.outgoing.rooms.items.*;
|
import com.eu.habbo.messages.outgoing.rooms.items.*;
|
||||||
import com.eu.habbo.plugin.Event;
|
import com.eu.habbo.plugin.Event;
|
||||||
import com.eu.habbo.plugin.events.furniture.*;
|
import com.eu.habbo.plugin.events.furniture.*;
|
||||||
@@ -1114,6 +1108,7 @@ public class RoomItemManager {
|
|||||||
if (habbo != null && !inventoryItems.isEmpty()) {
|
if (habbo != null && !inventoryItems.isEmpty()) {
|
||||||
habbo.getInventory().getItemsComponent().addItems(inventoryItems);
|
habbo.getInventory().getItemsComponent().addItems(inventoryItems);
|
||||||
habbo.getClient().sendResponse(new AddHabboItemComposer(inventoryItems));
|
habbo.getClient().sendResponse(new AddHabboItemComposer(inventoryItems));
|
||||||
|
habbo.getClient().sendResponse(new InventoryRefreshComposer());
|
||||||
}
|
}
|
||||||
|
|
||||||
for (HabboItem i : items) {
|
for (HabboItem i : items) {
|
||||||
@@ -1182,6 +1177,7 @@ public class RoomItemManager {
|
|||||||
if (user != null && !inventoryItems.isEmpty()) {
|
if (user != null && !inventoryItems.isEmpty()) {
|
||||||
user.getInventory().getItemsComponent().addItems(inventoryItems);
|
user.getInventory().getItemsComponent().addItems(inventoryItems);
|
||||||
user.getClient().sendResponse(new AddHabboItemComposer(inventoryItems));
|
user.getClient().sendResponse(new AddHabboItemComposer(inventoryItems));
|
||||||
|
user.getClient().sendResponse(new InventoryRefreshComposer());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user