diff --git a/FougeritePlugins/DestroySystem/DestroySystem.py b/FougeritePlugins/DestroySystem/DestroySystem.py index ae83c0f..a7687f9 100644 --- a/FougeritePlugins/DestroySystem/DestroySystem.py +++ b/FougeritePlugins/DestroySystem/DestroySystem.py @@ -326,6 +326,8 @@ def On_EntityHurt(self, HurtEvent): for ent in structs: if self.giveback == 1: namef = ent.Name + if namef == "Wood Barricade" or namef == "WoodSpikeWall" or namef == "LargeWoodSpikeWall" or namef == "Wood_Shelter" or namef == "WoodBox" or namef == "WoodBoxLarge" or namef == "Furnace" or namef == "RepairBench" or namef == "Workbench": + continue if namef in EntityList.keys(): HurtEvent.Attacker.Inventory.AddItem(EntityList[namef]) ent.Destroy()