mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02: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
@ -90,7 +90,7 @@ public class CraftLootTable implements org.bukkit.loot.LootTable {
|
||||
builder.set(LootContextParameters.DAMAGE_SOURCE, DamageSource.playerAttack(nmsKiller));
|
||||
}
|
||||
|
||||
return builder.build(LootContextParameterSets.GENERIC);
|
||||
return builder.build(LootContextParameterSets.EMPTY);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user