mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-12 22:59:31 +01:00
SPIGOT-4972: Cannot add contextual data to loot table API
By: md_5 <git@md-5.net>
This commit is contained in:
parent
26041887a6
commit
a7f92c8388
@ -90,7 +90,7 @@ public class CraftLootTable implements org.bukkit.loot.LootTable {
|
||||
builder.set(LootContextParameters.DAMAGE_SOURCE, DamageSource.playerAttack(nmsKiller));
|
||||
}
|
||||
|
||||
return builder.build(LootContextParameterSets.EMPTY);
|
||||
return builder.build(getHandle().a());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user