diff options
| Commit | 55bd30cf68f36021ffe159a147fd43792d229512 (patch) | |
|---|---|---|
| Author | 2020-04-08 15:05:42 +0300 | |
| Committer | 2020-04-08 15:05:42 +0300 | |
| Files | bf0907d202d7d944c1421fd6acd85e45c7f967ec | |
| Mundus-55bd30cf68f36021ffe159a147fd43792d229512.tar Mundus-55bd30cf68f36021ffe159a147fd43792d229512.tar.gz Mundus-55bd30cf68f36021ffe159a147fd43792d229512.zip | ||
| Parent | ac284aceee93e54152e0d362c88e9c07233cf4e8 (diff) | |
Fixed bug, where structures that drop themselves would crash the game if the inventory is full (+ updated the executable)
2 files changed, 1 insertions, 1 deletions
| -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 |
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()); } |