mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Cleanup comments, formatting, etc
This commit is contained in:
1 parent
7c40a073d8
commit
5f089137ee
148 files changed
+420
-470
No files matched your search
@@ -40,7 +40,7 @@ public final class ItemStack {
|
||||
this.f = null;
|
||||
this.id = i;
|
||||
this.count = j;
|
||||
// CraftBukkit start - pass to setData to do filtering
|
||||
// CraftBukkit start - Pass to setData to do filtering
|
||||
this.setData(k);
|
||||
//if (this.damage < 0) {
|
||||
// this.damage = 0;
|
||||
@@ -151,7 +151,7 @@ public final class ItemStack {
|
||||
}
|
||||
|
||||
public void setData(int i) {
|
||||
// CraftBukkit start - filter out data for items that shouldn't have it
|
||||
// CraftBukkit start - Filter out data for items that shouldn't have it
|
||||
// The crafting system uses this value for a special purpose so we have to allow it
|
||||
if (i == 32767) {
|
||||
this.damage = i;
|
||||
|
||||
Reference in new issue
Block a user