Fixed unit tests

This commit is contained in:
Anuken
2019-04-26 11:23:41 -04:00
parent 6e1fb71194
commit e7ad797d4e
7 changed files with 21 additions and 27 deletions

View File

@ -46,13 +46,13 @@ public class ServerControl implements ApplicationListener{
public ServerControl(String[] args){
Core.settings.defaults(
"shufflemode", "normal",
"bans", "",
"admins", "",
"shuffle", true,
"crashreport", false,
"port", port,
"logging", true
"shufflemode", "normal",
"bans", "",
"admins", "",
"shuffle", true,
"crashreport", false,
"port", port,
"logging", true
);
Log.setLogger(new LogHandler(){
@ -90,10 +90,8 @@ public class ServerControl implements ApplicationListener{
});
Time.setDeltaProvider(() -> Core.graphics.getDeltaTime() * 60f);
Effects.setScreenShakeProvider((a, b) -> {
});
Effects.setEffectProvider((a, b, c, d, e, f) -> {
});
Effects.setScreenShakeProvider((a, b) -> {});
Effects.setEffectProvider((a, b, c, d, e, f) -> {});
registerCommands();