mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 22:14:40 +01:00
SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires
This commit is contained in:
parent
0d76f8658d
commit
fe1199caa5
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.GENERIC);
|
return builder.build(LootContextParameterSets.EMPTY);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue