Archiviert
13
0

SPIGOT-4874: Use empty loot context

Appears to work irrespective of what the loot table requires
Dieser Commit ist enthalten in:
md_5 2019-05-06 20:00:27 +10:00
Ursprung 0d76f8658d
Commit fe1199caa5

Datei anzeigen

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