mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-15 13:52:10 -08:00
Fixed server build error / Possible crash fix
This commit is contained in:
parent
0fb336cf7b
commit
56ae47cd8d
3 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@ allprojects {
|
|||
appName = 'Mindustry'
|
||||
gdxVersion = '1.9.8'
|
||||
roboVMVersion = '2.3.0'
|
||||
uCoreVersion = '9251b7a2359f40e2b4976021610a041173e78b92'
|
||||
uCoreVersion = '411d5992f44e320a4292b93323d19f9fe7e3e701'
|
||||
|
||||
getVersionString = {
|
||||
String buildVersion = getBuildVersion()
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue