3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

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

Dieser Commit ist enthalten in:
md_5 2019-05-23 20:48:20 +10:00
Ursprung 342194e390
Commit c45c0a983b

Datei anzeigen

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