forked from LogBlock/LogBlock
Fixed out of range for item data
This commit is contained in:
@@ -8,6 +8,6 @@ public class ChestAccess
|
||||
public ChestAccess(short itemType, short itemAmount, byte itemData) {
|
||||
this.itemType = itemType;
|
||||
this.itemAmount = itemAmount;
|
||||
this.itemData = itemData;
|
||||
this.itemData = itemData >= 0 ? itemData : 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user