Set return type from double to float
This commit is contained in:
parent
709202574a
commit
ee9a6db15a
11 changed files with 77 additions and 19 deletions
|
|
@ -24,7 +24,11 @@ public abstract class VelocityPlugin {
|
|||
return dataFolder;
|
||||
}
|
||||
|
||||
public Logger getLogger() {
|
||||
public java.util.logging.Logger getLogger() {
|
||||
return java.util.logging.Logger.getLogger(logger.getName());
|
||||
}
|
||||
|
||||
public Logger getSLF4JLogger() {
|
||||
return logger;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@ public abstract class VelocityPreparedPlugin extends VelocityPlugin implements P
|
|||
|
||||
protected VelocityPreparedPlugin(ProxyServer server, Logger logger, Path dataFolder) {
|
||||
super(server, logger, dataFolder);
|
||||
loadConfig(defaultConfig);
|
||||
loadPhrases();
|
||||
establishSqlConnection();
|
||||
}
|
||||
|
||||
protected SqlAdapter createSqlAdapter() {
|
||||
|
|
@ -68,6 +65,9 @@ public abstract class VelocityPreparedPlugin extends VelocityPlugin implements P
|
|||
|
||||
@Subscribe
|
||||
private void onProxyInitialization(ProxyInitializeEvent event) {
|
||||
loadConfig(defaultConfig);
|
||||
loadPhrases();
|
||||
establishSqlConnection();
|
||||
onEnabling();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue