Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: c71bb9ca Add PlayerRecipeDiscoverEvent and methods to (un/)discover recipes CraftBukkit Changes: 7a2f4867 Implement PlayerRecipeDiscoverEvent and methods to (un/)discover recipes
This commit is contained in:
@@ -62,7 +62,7 @@ index 0f00eecead..504c9ad473 100644
|
||||
public abstract boolean isSpectator();
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
|
||||
index 289e267bdd..38a886fbd5 100644
|
||||
index 497783d4f3..99705b1344 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java
|
||||
@@ -0,0 +0,0 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
|
||||
@@ -96,6 +96,6 @@ index 289e267bdd..38a886fbd5 100644
|
||||
+ // Paper end
|
||||
+
|
||||
@Override
|
||||
public org.bukkit.entity.Entity getShoulderEntityLeft() {
|
||||
if (!getHandle().getShoulderEntityLeft().isEmpty()) {
|
||||
public boolean discoverRecipe(NamespacedKey recipe) {
|
||||
return discoverRecipes(Arrays.asList(recipe)) != 0;
|
||||
--
|
||||
Reference in New Issue
Block a user