Build 1.5-12

This commit is contained in:
malte0811 2017-07-03 21:33:59 +02:00
parent 292c150466
commit b6ef962f6f
3 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,5 @@
def mainVersion = "1.5"
def buildNumber = "11"
def buildNumber = "12"
/*
* This file is part of Industrial Wires.

View file

@ -1,3 +1,11 @@
#####Version 1.5-12
- Added tilted control panels
- Panels are no longer created from machine casings, there is a dedicated item for that now, the Unfinished Control Panel
- Angle and height can be configured in the Engineer's Workbench
- Fixed a CME when multi-threaded chunk rendering is enabled
- Fixed control panels not connecting or disconnecting properly when a panel connector between the panel and the RS controller is broken/placed
- Improved the performance of the control panel hitbox rendering
#####Version 1.5-11
- Updated to Minecraft 1.11.2
- Added Panel Meters to monitor a redstone signal with reasonable accuracy

View file

@ -53,7 +53,7 @@ public class ContainerPanelCreator extends Container {
@Override
public boolean isItemValid(ItemStack stack) {
if (ItemStack.areItemStacksEqual(ApiUtils.copyStackWithAmount(stack, 1), PanelUtils.getPanelBase()))
if (ItemStack.areItemsEqual(ApiUtils.copyStackWithAmount(stack, 1), PanelUtils.getPanelBase()))
return true;
return stack.getItem() == PanelUtils.PANEL_ITEM && stack.getMetadata() == BlockTypes_Panel.TOP.ordinal();
}