diff options
Diffstat (limited to 'patches/server/0619-Add-more-WanderingTrader-API.patch')
-rw-r--r-- | patches/server/0619-Add-more-WanderingTrader-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0619-Add-more-WanderingTrader-API.patch b/patches/server/0619-Add-more-WanderingTrader-API.patch index 65d351d6df..548c498631 100644 --- a/patches/server/0619-Add-more-WanderingTrader-API.patch +++ b/patches/server/0619-Add-more-WanderingTrader-API.patch @@ -5,12 +5,12 @@ Subject: [PATCH] Add more WanderingTrader API diff --git a/src/main/java/net/minecraft/world/entity/npc/WanderingTrader.java b/src/main/java/net/minecraft/world/entity/npc/WanderingTrader.java -index abb2c5c4ac481c7529aa29322babb1929235e15a..86e1ba898d6b92735258419fa74352e5116226dc 100644 +index 9162f3e5752a7bee825e7ae21e9fb950cf4eb644..af092098cdfc528bd9f5d771ead1b685aa051bee 100644 --- a/src/main/java/net/minecraft/world/entity/npc/WanderingTrader.java +++ b/src/main/java/net/minecraft/world/entity/npc/WanderingTrader.java @@ -56,6 +56,10 @@ public class WanderingTrader extends net.minecraft.world.entity.npc.AbstractVill @Nullable - private BlockPos wanderTarget; + public BlockPos wanderTarget; private int despawnDelay; + // Paper start - Add more WanderingTrader API + public boolean canDrinkPotion = true; |