Merge branch 'master' into 'master'
Updated the dependency "org.jetbrains:markdown-jvm:0.2.0" to the newer... See merge request 2009scape/2009scape!192
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.ajalt.mordant:mordant:2.0.0-alpha2")
|
||||
implementation "org.jetbrains:markdown-jvm:0.2.0"
|
||||
implementation "org.jetbrains:markdown-jvm:0.2.4"
|
||||
implementation 'com.google.guava:guava:29.0-jre'
|
||||
implementation 'mysql:mysql-connector-java:8.0.21'
|
||||
implementation 'io.github.classgraph:classgraph:4.8.98'
|
||||
|
||||
@@ -343,6 +343,8 @@ public class GrandExchangeInterface extends ComponentPlugin {
|
||||
String s = value.toString();
|
||||
s = s.replace("k","000");
|
||||
s = s.replace("K","000");
|
||||
s = s.replace("m","000000");
|
||||
s = s.replace("M","000000");
|
||||
setOfferAmount(player, offer, Integer.parseInt(s));
|
||||
return Unit.INSTANCE;
|
||||
});
|
||||
@@ -379,6 +381,8 @@ public class GrandExchangeInterface extends ComponentPlugin {
|
||||
String s = value.toString();
|
||||
s = s.replace("k","000");
|
||||
s = s.replace("K","000");
|
||||
s = s.replace("m","000000");
|
||||
s = s.replace("M","000000");
|
||||
setOfferValue(player, offer, Integer.parseInt(s));
|
||||
return Unit.INSTANCE;
|
||||
});
|
||||
|
||||
@@ -72,6 +72,8 @@ public final class TradeInterfacePlugin extends ComponentPlugin {
|
||||
String s = value.toString();
|
||||
s = s.replace("k","000");
|
||||
s = s.replace("K","000");
|
||||
s = s.replace("m","000000");
|
||||
s = s.replace("M","000000");
|
||||
int val = Integer.parseInt(s);
|
||||
module.getContainer().withdraw(slot, val);
|
||||
return Unit.INSTANCE;
|
||||
|
||||
@@ -376,6 +376,8 @@ public final class BankingPlugin extends OptionHandler {
|
||||
String s = value.toString();
|
||||
s = s.replace("k","000");
|
||||
s = s.replace("K","000");
|
||||
s = s.replace("m","000000");
|
||||
s = s.replace("M","000000");
|
||||
int val = Integer.parseInt(s);
|
||||
p.getBank().takeItem(slot, val);
|
||||
p.getBank().updateLastAmountX(val);
|
||||
|
||||
Reference in New Issue
Block a user