Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2026-01-15 23:42:37 -05:00
4 changed files with 122 additions and 122 deletions

View File

@@ -740,10 +740,10 @@ public class JoinDialog extends BaseDialog{
return Core.bundle.get("server.outdated");
}else if(host.version < Version.build && Version.build != -1){
return Core.bundle.get("server.outdated") + "\n" +
Core.bundle.format("server.version", host.version, "");
Core.bundle.format("server.version", host.version, host.versionType);
}else if(host.version > Version.build && Version.build != -1){
return Core.bundle.get("server.outdated.client") + "\n" +
Core.bundle.format("server.version", host.version, "");
Core.bundle.format("server.version", host.version, host.versionType);
}else if(host.version == Version.build && Version.type.equals(host.versionType)){
//not important
return "";

View File

@@ -529,11 +529,11 @@ public class LogicBlock extends Block{
while(accumulator >= 1f){
executor.runOnce();
accumulator --;
if(executor.yield){
executor.yield = false;
break;
}
accumulator --;
}
}
}