Renamed Main Class of plugin from 'P' to 'SavageFactions', along with the plugin field from 'p' to 'plugin'
This commit is contained in:
@@ -13,7 +13,7 @@ import java.text.SimpleDateFormat;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public abstract class FCommand extends MCommand<P> {
|
||||
public abstract class FCommand extends MCommand<SavageFactions> {
|
||||
|
||||
public SimpleDateFormat sdf = new SimpleDateFormat(TL.DATE_FORMAT.toString());
|
||||
|
||||
@@ -29,7 +29,7 @@ public abstract class FCommand extends MCommand<P> {
|
||||
public boolean isMoneyCommand;
|
||||
|
||||
public FCommand() {
|
||||
super(P.p);
|
||||
super(SavageFactions.plugin);
|
||||
|
||||
// Due to safety reasons it defaults to disable on lock.
|
||||
disableOnLock = true;
|
||||
@@ -160,7 +160,7 @@ public abstract class FCommand extends MCommand<P> {
|
||||
}
|
||||
|
||||
if (msg && ret == null) {
|
||||
this.msg("<b>No player \"<p>%s<b>\" could be found.", name);
|
||||
this.msg("<b>No player \"<plugin>%s<b>\" could be found.", name);
|
||||
}
|
||||
|
||||
return ret;
|
||||
@@ -233,7 +233,7 @@ public abstract class FCommand extends MCommand<P> {
|
||||
}
|
||||
|
||||
if (msg && ret == null) {
|
||||
this.msg("<b>The faction or player \"<p>%s<b>\" could not be found.", name);
|
||||
this.msg("<b>The faction or player \"<plugin>%s<b>\" could not be found.", name);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user