Added nuggets to Oredictionificator ore list, fixed a small bug

This commit is contained in:
Aidan C. Brady 2015-03-24 17:56:25 -04:00
parent 47e68e648e
commit 3cb4562461

View file

@ -39,7 +39,7 @@ public class TileEntityOredictionificator extends TileEntityContainerBlock imple
public HashList<OredictionificatorFilter> filters = new HashList<OredictionificatorFilter>(); public HashList<OredictionificatorFilter> filters = new HashList<OredictionificatorFilter>();
public static List<String> possibleFilters = Arrays.asList("ingot", "ore", "dust"); public static List<String> possibleFilters = Arrays.asList("ingot", "ore", "dust", "nugget");
public RedstoneControl controlType = RedstoneControl.DISABLED; public RedstoneControl controlType = RedstoneControl.DISABLED;
@ -86,7 +86,7 @@ public class TileEntityOredictionificator extends TileEntityContainerBlock imple
inventory[1] = result; inventory[1] = result;
didProcess = true; didProcess = true;
} }
else if(inventory[0].isItemEqual(result) && inventory[0].stackSize < inventory[0].getMaxStackSize()) else if(inventory[1].isItemEqual(result) && inventory[1].stackSize < inventory[1].getMaxStackSize())
{ {
inventory[0].stackSize--; inventory[0].stackSize--;