Fixed map shift field limiting to 3 characters

This commit is contained in:
Anuken
2022-10-15 16:30:47 -04:00
parent 17d527ab05
commit e19af8cc98
2 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ public class MapResizeDialog extends BaseDialog{
table.field((x ? shiftX : shiftY) + "", value -> {
int val = Integer.parseInt(value);
if(x) shiftX = val; else shiftY = val;
}).valid(Strings::canParseInt).maxTextLength(3);
}).valid(Strings::canParseInt).maxTextLength(4);
table.row();
}