mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
fix bad copy paste
This commit is contained in:
parent
f3c6526967
commit
60ebdbf107
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ public class IntSettingsGui extends AbstractSettingGui {
|
|||
//plus item
|
||||
GuiItem plusItem;
|
||||
if (now < holder.max) {
|
||||
int planned = Math.min(holder.max, now + step);
|
||||
int planned = Math.max(holder.min, now - step);
|
||||
plusItem = valueEditItem(Material.GREEN_TERRACOTTA, ValueDisplayType.ADD, planned);
|
||||
} else {
|
||||
plusItem = GuiGlobalItems.backgroundItem(Material.BARRIER);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue