v5.0.11b Release

*Bumped version to v5.0.11.
*Fix battery energy duplication.
*Update UE API.
*More intelligent containers.
*Fix energy cube voltage.
*Fix diamond dupe.
*Fix smelting factory dupe.
*Other minor bugfixes.
This commit is contained in:
Aidan Brady committed 2013-01-14 13:30:58 -05:00
1 parent 86d23225a2
commit 7faad6bdc1
27 files changed
+233 -47

No files matched your search

@@ -69,7 +69,7 @@ public class ContainerSolarGenerator extends Container
return null;
}
}
else if(slotID == 1)
else if(slotID == 0)
{
if(!mergeItemStack(slotStack, 1, inventorySlots.size(), false))
{
@@ -77,6 +77,22 @@ public class ContainerSolarGenerator extends Container
}
}
}
else {
if(slotID >= 1 && slotID <= 27)
{
if(!mergeItemStack(slotStack, 28, inventorySlots.size(), false))
{
return null;
}
}
else if(slotID > 27)
{
if(!mergeItemStack(slotStack, 1, 27, false))
{
return null;
}
}
}
if (slotStack.stackSize == 0)
{