mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
Fix ItemStack.damage OBFHelper (fixes #1036)
This commit is contained in:
parent
ab5b167d08
commit
db23ad30cb
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ index ff5cc74ba..1c59fd966 100644
|
|||
return i * 2;
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java
|
||||
index 52cb34abd..45c8e4b1e 100644
|
||||
index 52cb34abd..d1ff97a9e 100644
|
||||
--- a/src/main/java/net/minecraft/server/ItemStack.java
|
||||
+++ b/src/main/java/net/minecraft/server/ItemStack.java
|
||||
@@ -0,0 +0,0 @@ public final class ItemStack {
|
||||
|
@ -60,7 +60,7 @@ index 52cb34abd..45c8e4b1e 100644
|
|||
private NBTTagCompound tag;
|
||||
private boolean g;
|
||||
- private int damage;
|
||||
+ private int damage; public void setDamage(int i) { this.damage = 0; } // Paper - OBFHELPER
|
||||
+ private int damage; public void setDamage(int i) { this.damage = i; } // Paper - OBFHELPER
|
||||
private EntityItemFrame i;
|
||||
private Block j;
|
||||
private boolean k;
|
||||
|
|
Loading…
Reference in a new issue