mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
SPIGOT-4972: Cannot add contextual data to loot table API
This commit is contained in:
parent
342194e390
commit
c45c0a983b
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));
|
builder.set(LootContextParameters.DAMAGE_SOURCE, DamageSource.playerAttack(nmsKiller));
|
||||||
}
|
}
|
||||||
|
|
||||||
return builder.build(LootContextParameterSets.EMPTY);
|
return builder.build(getHandle().a());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue