mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
manual update of all master commits up to ca86fa8
This commit is contained in:
1 parent
14d357ccf6
commit
983c91c2c9
48 files changed
+680
-158
No files matched your search
@@ -93,7 +93,7 @@ public class StencilTableGui extends GuiContainer
|
||||
if (button.id == 0)
|
||||
{
|
||||
patternIndex++;
|
||||
if (patternIndex == 21)
|
||||
if (patternIndex == 21 || patternIndex == 26)
|
||||
patternIndex++;
|
||||
if (patternIndex >= TContent.patternOutputs.length)
|
||||
patternIndex = 0;
|
||||
@@ -101,10 +101,10 @@ public class StencilTableGui extends GuiContainer
|
||||
else if (button.id == 1)
|
||||
{
|
||||
patternIndex--;
|
||||
if (patternIndex == 21)
|
||||
patternIndex--;
|
||||
if (patternIndex < 0)
|
||||
patternIndex = TContent.patternOutputs.length - 1;
|
||||
if (patternIndex == 21 || patternIndex == 26)
|
||||
patternIndex--;
|
||||
}
|
||||
ItemStack stack = new ItemStack(TContent.woodPattern, 1, patternIndex + 1);
|
||||
logic.setInventorySlotContents(1, stack);
|
||||
|
||||
Reference in new issue
Block a user