SPIGOT-4972: Cannot add contextual data to loot table API

This commit is contained in:
md_5 2019-05-23 20:48:20 +10:00
parent 342194e390
commit c45c0a983b

View file

@ -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