Fixed server build error / Possible crash fix

This commit is contained in:
Anuken 2018-09-02 11:00:14 -04:00
parent 0fb336cf7b
commit 56ae47cd8d
3 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ allprojects {
appName = 'Mindustry'
gdxVersion = '1.9.8'
roboVMVersion = '2.3.0'
uCoreVersion = '9251b7a2359f40e2b4976021610a041173e78b92'
uCoreVersion = '411d5992f44e320a4292b93323d19f9fe7e3e701'
getVersionString = {
String buildVersion = getBuildVersion()

View File

@ -14,7 +14,7 @@ import io.anuke.ucore.util.Log;
* Hold and organizes a list of block stats.
*/
public class BlockStats{
private static final boolean errorWhenMissing = true;
private static final boolean errorWhenMissing = false;
private final OrderedMap<StatCategory, OrderedMap<BlockStat, StatValue>> map = new OrderedMap<>();
private final Block block;

View File

@ -668,7 +668,7 @@ public class ServerControl extends Module{
}
info("&lyCore destroyed.");
Events.fire(GameOverEvent.class);
Events.fire(new GameOverEvent());
});
handler.register("debuginfo", "Print debug info", arg -> {
@ -934,7 +934,7 @@ public class ServerControl extends Module{
if(alive != null && !state.gameOver){
state.gameOver = true;
winnerTeam = alive;
Events.fire(GameOverEvent.class);
Events.fire(new GameOverEvent());
}
}