mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Upstream has released updates that appears to apply and compile correctly Paper Changes: fcbeac8a [CI-SKIP] Readme update (#3702) 824f8086 Bandaid italic legacy serialization #3757 (#3760) Tuinity Changes: 9f21359: Re-add optimise collision checking in player move packet handling 1152054: Revert player move packet optimisation ef0a6c4: Optimise collision checking in player move packets
25 lines
798 B
Diff
25 lines
798 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
|
Date: Mon, 7 Oct 2019 00:15:28 -0500
|
|
Subject: [PATCH] Villager#resetOffers
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Villager.java b/src/main/java/org/bukkit/entity/Villager.java
|
|
index c8777a47..ed703af4 100644
|
|
--- a/src/main/java/org/bukkit/entity/Villager.java
|
|
+++ b/src/main/java/org/bukkit/entity/Villager.java
|
|
@@ -113,6 +113,13 @@ public interface Villager extends AbstractVillager {
|
|
*/
|
|
public void wakeup();
|
|
|
|
+ // Purpur start
|
|
+ /**
|
|
+ * Reset this villager's trade offers
|
|
+ */
|
|
+ public void resetOffers();
|
|
+ // Purpur end
|
|
+
|
|
/**
|
|
* Represents Villager type, usually corresponding to what biome they spawn
|
|
* in.
|