mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +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
@ -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 New Issue
Block a user