mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-31 12:22:36 +01:00
Add missing classes
This commit is contained in:
parent
b43f9454e7
commit
bca0af2d46
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…
x
Reference in New Issue
Block a user