mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Update to mcdev rename revision 01 for 1.8.1
This commit is contained in:
1 parent
75ac4e00b2
commit
0118a20d6a
40 files changed
+322
-324
No files matched your search
@@ -102,7 +102,7 @@ public final class ItemStack {
|
||||
}
|
||||
|
||||
public boolean d() {
|
||||
return Item.byId[this.id].e() > 0;
|
||||
return Item.byId[this.id].getMaxDurability() > 0;
|
||||
}
|
||||
|
||||
public boolean usesData() {
|
||||
@@ -126,7 +126,7 @@ public final class ItemStack {
|
||||
}
|
||||
|
||||
public int i() {
|
||||
return Item.byId[this.id].e();
|
||||
return Item.byId[this.id].getMaxDurability();
|
||||
}
|
||||
|
||||
public void damage(int i, Entity entity) {
|
||||
|
||||
Reference in new issue
Block a user