You can loot a dropbox with quicksort using lootall. On the side of entering materials into the dropbox, making it available for all with quicksort.
You can loot a dropbox with quicksort using lootall. On the side of entering materials into the dropbox, making it available for all with quicksort.
I fixed that in this way:
private void OnLootEntity(BasePlayer player, BaseEntity entity)
{
var check = entity.GetComponent<DestroyOnGroundMissing>();
if (check != null && check.enabled == false) return;
if (permission.UserHasPermission(player.UserIDString, permUse) && !(entity is VendingMachine) && !(entity is ShopFront) && !(entity is BigWheelBettingTerminal) && (!(entity is DropBox) || (entity as DropBox).PlayerBehind(player)))
{
UserInterface(player);
}
}Sorry, wrong forum topic...