mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-20 04:28:04 +01:00
fixed performance issue on debug builds by commenting out a commited code from the Smartcmd, I would assume that method worked fine on old update of LCE as it had a small amount of mobs in the game to save for every single tick, but as we introduce more mobs to neoLegacy that method becomes a bottle neck, and we dont really need it either in the game!
This commit is contained in:
1 parent
18136070c1
commit
b59e075247
1 file changed
+4
-1
@@ -278,7 +278,10 @@ void ServerLevel::tick()
|
||||
#endif
|
||||
{
|
||||
PIXBeginNamedEvent(0,"Incremental save");
|
||||
save(false, nullptr);
|
||||
// @3makJoud
|
||||
// commenting this line of code, as it were commited by the Smartcmd or shall i say Dumpcmd,
|
||||
// as it saves entities every single tick which kills performance on low end devices
|
||||
//save(false, nullptr);
|
||||
PIXEndNamedEvent();
|
||||
}
|
||||
#if defined(_WINDOWS64) && defined(MINECRAFT_SERVER_BUILD)
|
||||
|
||||
Reference in new issue
Block a user