mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
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:
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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user