Skip to content

Commit

Permalink
Fix #246, server crash when crafting station loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
copygirl committed Sep 21, 2014
1 parent 14e6762 commit 2cc5a8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ else if (width != line.length())

recipeInput = new IRecipeInput[width * height];
recipeOutput = output;

for (int x = 0; x < width; x++)
for (int y = 0; y < height; y++)
recipeInput[x + y * width] = inputMap.get(((String)input[y]).charAt(x));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ private InventoryCraftingStation(String name, ItemStack[] crafting, ItemStack[]
this.output = output;
this.contents = contents;
lastOutput = new ItemStack[output.length];
inputChanged();
}

public void update() {
Expand Down

0 comments on commit 2cc5a8a

Please sign in to comment.