Skip to content

Commit

Permalink
🐛 Allow for empty ("") death loot table on mobs
Browse files Browse the repository at this point in the history
  • Loading branch information
MulverineX committed Jul 14, 2024
1 parent 3a9efbb commit 530bb78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/server/world/entity/mob/mod.mcdoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ struct MobBase {
/// Chance to drop the item it is wearing.
#[since="1.20.5"]
body_armor_drop_chance?: float,
DeathLootTable?: #[id="loot_table"] string,
DeathLootTable?: #[id(registry="loot_table", empty="allowed")] string,
/// Seed for generating the death loot table.
DeathLootTableSeed?: long,
/// Whether it can pick up loot.
Expand Down

0 comments on commit 530bb78

Please sign in to comment.