mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-27 08:48:46 +00:00
Fix not correctly enchanting books
This commit is contained in:
@@ -25,6 +25,7 @@ export const LootTablePreview = ({ data }: PreviewProps) => {
|
||||
const state = JSON.stringify(table)
|
||||
useEffect(() => {
|
||||
const items = generateLootTable(table, { version, seed, luck, daytime, weather, stackMixer: mixItems ? 'container' : 'default' })
|
||||
console.log('Generated loot', items)
|
||||
setItems(items)
|
||||
}, [version, seed, luck, daytime, weather, mixItems, state])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user