From 47c807c0e3ef17ee4ad31bb9813f717d28dbfacd Mon Sep 17 00:00:00 2001 From: sciwhiz12 Date: Sun, 23 Apr 2023 20:24:20 +0800 Subject: [PATCH] Remove erroneous brace patch in Inventory (#9462) Fixes #9459 --- .../minecraft/world/entity/player/Inventory.java.patch | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/patches/minecraft/net/minecraft/world/entity/player/Inventory.java.patch b/patches/minecraft/net/minecraft/world/entity/player/Inventory.java.patch index c716779590..88b6c7fae2 100644 --- a/patches/minecraft/net/minecraft/world/entity/player/Inventory.java.patch +++ b/patches/minecraft/net/minecraft/world/entity/player/Inventory.java.patch @@ -1,10 +1,6 @@ --- a/net/minecraft/world/entity/player/Inventory.java +++ b/net/minecraft/world/entity/player/Inventory.java -@@ -126,14 +_,14 @@ - if (this.f_35974_.get(j).m_41619_()) { - return j; - } -- } +@@ -130,7 +_,7 @@ for(int k = 0; k < 9; ++k) { int l = (this.f_35977_ + k) % 9; @@ -13,10 +9,6 @@ return l; } } -+ } - - return this.f_35977_; - } @@ -178,7 +_,8 @@ int i = p_36049_.m_41613_(); ItemStack itemstack = this.m_8020_(p_36048_);