From 5ad54648ab2ca03c20e963c48282748f20abb75d Mon Sep 17 00:00:00 2001 From: leka1986 <83298840+leka1986@users.noreply.github.com> Date: Sun, 9 Feb 2025 11:51:34 +0100 Subject: [PATCH] Update CTLD.lua Removed the block from partly drop 1. It's not helpful for the user to have 1 incomplete a set of crates onboard. With this line removed, If someone loads 2 items, and second item is not completed, due to crate limit or due weight, player can unload the uncomplete set. --- Moose Development/Moose/Ops/CTLD.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Moose Development/Moose/Ops/CTLD.lua b/Moose Development/Moose/Ops/CTLD.lua index bab258232..7d3f76070 100644 --- a/Moose Development/Moose/Ops/CTLD.lua +++ b/Moose Development/Moose/Ops/CTLD.lua @@ -4397,10 +4397,6 @@ function CTLD:_UnloadSingleCrate(Group, Unit, CrateName) table.insert(matched, cObj) end end - if #matched < needed then - self:_SendMessage(string.format("You only have %d of %d %s crates needed!", #matched, needed, CrateName), 10, false, Group) - return self - end local crateToUse = matched[1] self:_GetCrates(Group, Unit, crateToUse, needed, true) local used = 0