Remove erroneous brace patch in Inventory (#9462)

Fixes #9459
This commit is contained in:
sciwhiz12 authored and GitHub committed 2023-04-23 13:24:20 +01:00
1 parent b398f52a7f
commit 47c807c0e3
1 file changed
+1 -9
@@ -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_);