summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-10-15 15:44:52 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-10-15 15:44:52 +0200
commitfa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b (patch)
treed83e6a949d17e016d67023d431556d439b958baf /src
parentIntNoise1DInt result gets devided by 7 first (diff)
downloadcuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar.gz
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar.bz2
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar.lz
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar.xz
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.tar.zst
cuberite-fa6f8fb38e8bb4a2d047ff9dee3ee57b10b5cf1b.zip
Diffstat (limited to 'src')
-rw-r--r--src/ItemGrid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ItemGrid.cpp b/src/ItemGrid.cpp
index cd77d52e1..6a3d08679 100644
--- a/src/ItemGrid.cpp
+++ b/src/ItemGrid.cpp
@@ -649,6 +649,7 @@ void cItemGrid::GenerateRandomLootWithBooks(const cLootProbab * a_LootProbabs, s
cEnchantments Enchantment = cEnchantments::GenerateEnchantmentFromVector(Enchantments, Noise.IntNoise2DInt(NumEnchantments, i));
CurrentLoot.m_Enchantments.Add(Enchantment);
cEnchantments::RemoveEnchantmentWeightFromVector(Enchantments, Enchantment);
+ cEnchantments::CheckEnchantmentConflictsFromVector(Enchantments, Enchantment);
}
for (size_t j = 0; j < a_CountLootProbabs; j++)