SPIGOT-4874: Use empty loot context
Appears to work irrespective of what the loot table requires By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user