summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-08-27 07:00:56 +1000
committermd_5 <git@md-5.net>2018-08-27 07:00:56 +1000
commit479ec05e3b15937ae7e988d9050d167fc6ba307d (patch)
tree83f0cd858375c8c2c87deee025edc2000651f6ba /nms-patches
parent6dee81a6f71422b4559f39c6a8349020503839ca (diff)
downloadcraftbukkit-479ec05e3b15937ae7e988d9050d167fc6ba307d.tar
craftbukkit-479ec05e3b15937ae7e988d9050d167fc6ba307d.tar.gz
craftbukkit-479ec05e3b15937ae7e988d9050d167fc6ba307d.tar.lz
craftbukkit-479ec05e3b15937ae7e988d9050d167fc6ba307d.tar.xz
craftbukkit-479ec05e3b15937ae7e988d9050d167fc6ba307d.zip
SPIGOT-4310: Reset villager career level with trades
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/EntityVillager.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/nms-patches/EntityVillager.patch b/nms-patches/EntityVillager.patch
index 6cfcdfc5..140034fc 100644
--- a/nms-patches/EntityVillager.patch
+++ b/nms-patches/EntityVillager.patch
@@ -15,6 +15,15 @@
public class EntityVillager extends EntityAgeable implements NPC, IMerchant {
+@@ -26,7 +34,7 @@
+ public int riches;
+ private String bO;
+ public int careerId;
+- private int bQ;
++ public int bQ; // PAIL private->public
+ private boolean bR;
+ private boolean bS;
+ public final InventorySubcontainer inventory;
@@ -38,7 +46,7 @@
public EntityVillager(World world, int i) {