i am using this code inside OnEntitySpawned so it wont spawn those barrels but after i loot everything on the junkpile it is not despawningCode:if (entity.ShortPrefabName.Contains("loot_barrel")) entity.Kill(BaseNetworkable.DestroyMode.None);
Junkpile not despawning
Discussion in 'Rust Development' started by Bruno Puccio, Mar 7, 2018.