mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
update to 1.5.1 RC2 c2cdb7
This commit is contained in:
1 parent
c429d8e6c5
commit
f693ee75e0
4 files changed
+28
-16
No files matched your search
@@ -93,17 +93,17 @@ public class StencilTableGui extends GuiContainer
|
||||
if (button.id == 0)
|
||||
{
|
||||
patternIndex++;
|
||||
if (patternIndex == 21 || patternIndex == 26)
|
||||
if (patternIndex == 21)
|
||||
patternIndex++;
|
||||
if (patternIndex >= TContent.patternOutputs.length)
|
||||
if (patternIndex >= TContent.patternOutputs.length - 1)
|
||||
patternIndex = 0;
|
||||
}
|
||||
else if (button.id == 1)
|
||||
{
|
||||
patternIndex--;
|
||||
if (patternIndex < 0)
|
||||
patternIndex = TContent.patternOutputs.length - 1;
|
||||
if (patternIndex == 21 || patternIndex == 26)
|
||||
patternIndex = TContent.patternOutputs.length - 2;
|
||||
if (patternIndex == 21)
|
||||
patternIndex--;
|
||||
}
|
||||
ItemStack stack = new ItemStack(TContent.woodPattern, 1, patternIndex + 1);
|
||||
|
||||
Reference in new issue
Block a user