mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Merge branch 'fix-build' into 'ms4/dev'
Add missing classes See merge request morningstar/Arcturus-Community!34
This commit is contained in:
commit
45e3b6ed99
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||||
|
}
|
||||||
|
}
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user