Infinite loops are like infinite loops which are like infinite loops which *bang*
This commit is contained in:
parent
1ca85f783c
commit
30a8e66282
@ -93,7 +93,7 @@ public class ItemStack {
|
|||||||
public void setTypeID(int type) {
|
public void setTypeID(int type) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
|
|
||||||
Material mat = getType();
|
Material mat = Material.getMaterial(type);
|
||||||
|
|
||||||
if (mat == null) {
|
if (mat == null) {
|
||||||
data = new MaterialData(type, (byte)0);
|
data = new MaterialData(type, (byte)0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user