summaryrefslogtreecommitdiffstats
path: root/nms-patches/LootTableInfo.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-16 20:39:29 +1000
committermd_5 <git@md-5.net>2018-08-16 20:39:29 +1000
commit5bf0abb3ae463f40fd674c0affa83208e70fd77e (patch)
tree77fd2f135c5dae60201d3f80ae1ccf41ed585b97 /nms-patches/LootTableInfo.patch
parentb865db3b2a525c952cd7b4a915d1e452966c2e42 (diff)
downloadcraftbukkit-5bf0abb3ae463f40fd674c0affa83208e70fd77e.tar
craftbukkit-5bf0abb3ae463f40fd674c0affa83208e70fd77e.tar.gz
craftbukkit-5bf0abb3ae463f40fd674c0affa83208e70fd77e.tar.lz
craftbukkit-5bf0abb3ae463f40fd674c0affa83208e70fd77e.tar.xz
craftbukkit-5bf0abb3ae463f40fd674c0affa83208e70fd77e.zip
SPIGOT-4281: Fix looting enchantment
Diffstat (limited to 'nms-patches/LootTableInfo.patch')
-rw-r--r--nms-patches/LootTableInfo.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/LootTableInfo.patch b/nms-patches/LootTableInfo.patch
index 21221c0c..1c078179 100644
--- a/nms-patches/LootTableInfo.patch
+++ b/nms-patches/LootTableInfo.patch
@@ -44,7 +44,7 @@
private final WorldServer a;
private float b;
-+ private int lootingMod; // CraftBukkit
++ private int lootingMod = org.bukkit.loot.LootContext.DEFAULT_LOOT_MODIFIER; // CraftBukkit
private Entity c;
private EntityHuman d;
private DamageSource e;