diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-04-08 15:05:42 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-04-08 15:05:42 +0300 |
| commit | 55bd30cf68f36021ffe159a147fd43792d229512 (patch) | |
| tree | bf0907d202d7d944c1421fd6acd85e45c7f967ec | |
| parent | ac284aceee93e54152e0d362c88e9c07233cf4e8 (diff) | |
| download | Mundus-55bd30cf68f36021ffe159a147fd43792d229512.tar Mundus-55bd30cf68f36021ffe159a147fd43792d229512.tar.gz Mundus-55bd30cf68f36021ffe159a147fd43792d229512.zip | |
Fixed bug, where structures that drop themselves would crash the game if the inventory is full (+ updated the executable)
| -rw-r--r-- | Mundus Build 08-04-2020 No3.exe (renamed from Mundus Build 08-04-2020.exe) | bin | 539648 -> 539648 bytes | |||
| -rw-r--r-- | Mundus/Service/Mobs/MobTerraforming.cs | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/Mundus Build 08-04-2020.exe b/Mundus Build 08-04-2020 No3.exe Binary files differindex 0e547a6..6629492 100644 --- a/Mundus Build 08-04-2020.exe +++ b/Mundus Build 08-04-2020 No3.exe diff --git a/Mundus/Service/Mobs/MobTerraforming.cs b/Mundus/Service/Mobs/MobTerraforming.cs index 6111676..1105ce0 100644 --- a/Mundus/Service/Mobs/MobTerraforming.cs +++ b/Mundus/Service/Mobs/MobTerraforming.cs @@ -43,7 +43,7 @@ namespace Mundus.Service.Mobs { LMI.Player.Inventory.AppendToItems(new Material((Material)selStructure.GetDrop())); } }
- else { + else if (LMI.Player.Inventory.Items.Contains(null)) { LMI.Player.Inventory.AppendToItems((Structure)selStructure.GetDrop()); } |
