diff --git a/lua/entities/acf_ammo/init.lua b/lua/entities/acf_ammo/init.lua index 3d04ecd6..70713207 100644 --- a/lua/entities/acf_ammo/init.lua +++ b/lua/entities/acf_ammo/init.lua @@ -272,17 +272,6 @@ do -- Spawning and Updating -------------------- end end) - -- Called when checking if an entity can be spawned. - hook.Add("ACF_CanUpdateEntity", "ACF Crate Size Update", function(Entity, Data) - if not Entity.IsACFAmmoCrate then return end - if Data.Size then return end -- The menu won't send it like this - - Data.Size = Entity:GetSize() - Data.CrateSizeX = nil - Data.CrateSizeY = nil - Data.CrateSizeZ = nil - end) - ------------------------------------------------------------------------------- function MakeACF_Ammo(Player, Pos, Ang, Data) diff --git a/lua/entities/acf_fueltank/init.lua b/lua/entities/acf_fueltank/init.lua index a4057727..bbf251e5 100644 --- a/lua/entities/acf_fueltank/init.lua +++ b/lua/entities/acf_fueltank/init.lua @@ -174,16 +174,6 @@ do -- Spawn and Update functions WireLib.TriggerOutput(Entity, "Capacity", Entity.Capacity) end - hook.Add("ACF_CanUpdateEntity", "ACF Fuel Tank Size Update", function(Entity, Data) - if not Entity.IsACFFuelTank then return end - if Data.Size then return end -- The menu won't send it like this - - Data.Size = Entity:GetSize() - Data.TankSizeX = nil - Data.TankSizeY = nil - Data.TankSizeZ = nil - end) - function MakeACF_FuelTank(Player, Pos, Angle, Data) VerifyData(Data)