Merge branch 'fix-build' into 'ms4/dev'

Add missing classes

See merge request morningstar/Arcturus-Community!34
This commit is contained in:
John 2023-01-13 09:47:46 +00:00
commit 45e3b6ed99
3 changed files with 1607 additions and 19 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,17 @@
package com.eu.habbo.habbohotel.commands.credits;
import com.eu.habbo.habbohotel.commands.Command;
public abstract class BaseCreditsCommand extends Command {
public BaseCreditsCommand(String permission, String[] keys) {
super(permission, keys);
}
protected String replaceAmount(String input, String amount) {
return input.replace("%amount%", amount);
}
protected String replaceUserAndAmount(String input, String user, String amount) {
return replaceAmount(replaceUser(input, user), amount);
}
}

View File

@ -0,0 +1,17 @@
package com.eu.habbo.habbohotel.commands.pixels;
import com.eu.habbo.habbohotel.commands.Command;
public abstract class BasePixelsCommand extends Command {
public BasePixelsCommand(String permission, String[] keys) {
super(permission, keys);
}
protected String replaceAmount(String input, String amount) {
return input.replace("%amount%", amount);
}
protected String replaceUserAndAmount(String input, String user, String amount) {
return replaceAmount(replaceUser(input, user), amount);
}
}