Release the native Jarvis connector, Exchange and quest/claim GUI without older web changes

This commit is contained in:
unimatrixgit 2026-11-22 21:48:38 +01:00
commit 5ae89e05aa

View file

@ -0,0 +1,6 @@
package com.dunerealms.gui;
import java.math.BigDecimal;
final class ExchangePrice {
static long parse(String text){if(text==null||!text.matches("[0-9]{1,7}(?:\\.[0-9]{1,2})?"))throw new IllegalArgumentException("Enter a price such as 1.00 DM.");long n=new BigDecimal(text).movePointRight(2).longValueExact();if(n<1||n>100000000)throw new IllegalArgumentException("Choose a price between 0.01 and 1000000.00 DM.");return n;}
private ExchangePrice(){}
}