mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Fixed server build error / Possible crash fix
This commit is contained in:
parent
0fb336cf7b
commit
56ae47cd8d
@ -26,7 +26,7 @@ allprojects {
|
|||||||
appName = 'Mindustry'
|
appName = 'Mindustry'
|
||||||
gdxVersion = '1.9.8'
|
gdxVersion = '1.9.8'
|
||||||
roboVMVersion = '2.3.0'
|
roboVMVersion = '2.3.0'
|
||||||
uCoreVersion = '9251b7a2359f40e2b4976021610a041173e78b92'
|
uCoreVersion = '411d5992f44e320a4292b93323d19f9fe7e3e701'
|
||||||
|
|
||||||
getVersionString = {
|
getVersionString = {
|
||||||
String buildVersion = getBuildVersion()
|
String buildVersion = getBuildVersion()
|
||||||
|
@ -14,7 +14,7 @@ import io.anuke.ucore.util.Log;
|
|||||||
* Hold and organizes a list of block stats.
|
* Hold and organizes a list of block stats.
|
||||||
*/
|
*/
|
||||||
public class BlockStats{
|
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 OrderedMap<StatCategory, OrderedMap<BlockStat, StatValue>> map = new OrderedMap<>();
|
||||||
private final Block block;
|
private final Block block;
|
||||||
|
@ -668,7 +668,7 @@ public class ServerControl extends Module{
|
|||||||
}
|
}
|
||||||
|
|
||||||
info("&lyCore destroyed.");
|
info("&lyCore destroyed.");
|
||||||
Events.fire(GameOverEvent.class);
|
Events.fire(new GameOverEvent());
|
||||||
});
|
});
|
||||||
|
|
||||||
handler.register("debuginfo", "Print debug info", arg -> {
|
handler.register("debuginfo", "Print debug info", arg -> {
|
||||||
@ -934,7 +934,7 @@ public class ServerControl extends Module{
|
|||||||
if(alive != null && !state.gameOver){
|
if(alive != null && !state.gameOver){
|
||||||
state.gameOver = true;
|
state.gameOver = true;
|
||||||
winnerTeam = alive;
|
winnerTeam = alive;
|
||||||
Events.fire(GameOverEvent.class);
|
Events.fire(new GameOverEvent());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user