diff options
author | Shane Freeder <[email protected]> | 2021-08-29 20:25:38 +0100 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2021-08-29 20:25:38 +0100 |
commit | 114fec10702bfbd07212848c2aed42add15d4c54 (patch) | |
tree | 1db3a41edcd7451a7bccef8da1427d720249ff0e | |
parent | 9a76761ded356d6a435ab175a6029a40b79ffc31 (diff) | |
download | Paper-114fec10702bfbd07212848c2aed42add15d4c54.tar.gz Paper-114fec10702bfbd07212848c2aed42add15d4c54.zip |
Remove duplicate code
-rw-r--r-- | Spigot-Server-Patches/0765-Remove-duplicate-code.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0765-Remove-duplicate-code.patch b/Spigot-Server-Patches/0765-Remove-duplicate-code.patch new file mode 100644 index 0000000000..751f2bcde7 --- /dev/null +++ b/Spigot-Server-Patches/0765-Remove-duplicate-code.patch @@ -0,0 +1,22 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Shane Freeder <[email protected]> +Date: Sun, 29 Aug 2021 20:24:17 +0100 +Subject: [PATCH] Remove duplicate code + + +diff --git a/src/main/java/net/minecraft/world/inventory/ContainerFurnace.java b/src/main/java/net/minecraft/world/inventory/ContainerFurnace.java +index 14cc1f15ae3af5b7e0996eab7ecc895546a4ed8c..4fbc84be10ec7f9ecd6df25e96b974b9e121c39f 100644 +--- a/src/main/java/net/minecraft/world/inventory/ContainerFurnace.java ++++ b/src/main/java/net/minecraft/world/inventory/ContainerFurnace.java +@@ -89,11 +89,6 @@ public abstract class ContainerFurnace extends ContainerRecipeBook<IInventory> { + this.furnace.clear(); + } + +- @Override +- public void a(boolean flag, IRecipe<?> irecipe, EntityPlayer entityplayer) { +- (new AutoRecipeFurnace(this)).a(entityplayer, irecipe, flag); // CraftBukkit - decompile error +- } +- + @Override + public boolean a(IRecipe<? super IInventory> irecipe) { + return irecipe.a(this.furnace, this.c); |