BO3: RandomBlock / Random NBT files
LanToaster opened this issue ยท 3 comments
The randomblock function doesnt use RandomNBT files when Spawning.
It uses always the same NBT file.
(Used v2.4.12)
For Reference these are the Objects I talked about:
http://dev.bukkit.org/media/attachments/37/551/RandomLoot.rar
It's worse than you thought. For example, take this line:
RandomBlock(0,0,0,CHEST,Container/BasicLoot/RareE-01.nbt,7,CHEST,Container/BasicLoot/RareE-02.nbt,7,CHEST,Container/BasicLoot/RareE-03.nbt,8,CHEST,Container/BasicLoot/RareE-04.nbt,8,CHEST,Container/BasicLoot/RareE-05.nbt,9,CHEST,Container/BasicLoot/RareE-06.nbt,10,CHEST,Container/BasicLoot/RareE-07.nbt,11,CHEST,Container/BasicLoot/RareE-08.nbt,12,CHEST,Container/BasicLoot/RareE-09.nbt,14,CHEST,Container/BasicLoot/RareE-10.nbt,16,CHEST,Container/BasicLoot/RareE-11.nbt,19,CHEST,Container/BasicLoot/RareE-12.nbt,24,CHEST,Container/BasicLoot/RareE-13.nbt,33,CHEST,Container/BasicLoot/RareE-14.nbt,50,CHEST,Container/BasicLoot/RareE-15.nbt,100)
After setting SettingsMode
to WriteAll
, TC decides to write down this: (look at the chances)
RandomBlock(0,0,0,CHEST,Container/BasicLoot/RareE-01.nbt,100,CHEST,Container/BasicLoot/RareE-02.nbt,50,CHEST,Container/BasicLoot/RareE-03.nbt,33,CHEST,Container/BasicLoot/RareE-04.nbt,24,CHEST,Container/BasicLoot/RareE-05.nbt,19,CHEST,Container/BasicLoot/RareE-06.nbt,16,CHEST,Container/BasicLoot/RareE-07.nbt,14,CHEST,Container/BasicLoot/RareE-08.nbt,12,CHEST,Container/BasicLoot/RareE-09.nbt,11,CHEST,Container/BasicLoot/RareE-10.nbt,10,CHEST,Container/BasicLoot/RareE-11.nbt,9,CHEST,Container/BasicLoot/RareE-12.nbt,8,CHEST,Container/BasicLoot/RareE-13.nbt,8,CHEST,Container/BasicLoot/RareE-14.nbt,7,CHEST,Container/BasicLoot/RareE-15.nbt,7)
Starting the server another time fixes it.
Here's the download of the build that should fix this: