Fixed server-side crashes and fixed a wrong check for the Smelting anointment.

This commit is contained in:
WayofTime 2021-01-16 11:51:26 -05:00
parent 9d1d8fc01f
commit 113c33ca5c
7 changed files with 45 additions and 15 deletions

View file

@ -235,7 +235,7 @@ public class GlobalLootModifier
ItemStack ctxTool = context.get(LootParameters.TOOL);
// return early if silk-touch is already applied (otherwise we'll get stuck in
// an infinite loop).
if (ctxTool.getTag() != null)
if (ctxTool.getTag() == null)
{
return generatedLoot;
}