mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires By: md_5 <git@md-5.net>
This commit is contained in:
parent
1915b49ec3
commit
f2ce39c748
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class CraftLootTable implements org.bukkit.loot.LootTable {
|
|||
builder.set(LootContextParameters.DAMAGE_SOURCE, DamageSource.playerAttack(nmsKiller));
|
||||
}
|
||||
|
||||
return builder.build(LootContextParameterSets.GENERIC);
|
||||
return builder.build(LootContextParameterSets.EMPTY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue