small hotfix

This commit is contained in:
Beu 2022-11-03 21:38:13 +01:00
parent 2533e1a8e9
commit be3bc5cbd0
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ void Main() {
RefreshBlocks();
RefreshItems();
sortableobjects = objects;
sortableobjects.Sort(function(a,b) { return a.size > b.size; }); // Sort by size by default, it will be used as second sort criteria
if (sortableobjects.Length > 0) sortableobjects.Sort(function(a,b) { return a.size > b.size; }); // Sort by size by default, it will be used as second sort criteria
refreshobject = false;
}
yield();

View File

@ -3,5 +3,5 @@ name = "Blocks & Items Counter"
author = "Beu"
category = "Map Editor"
siteid = 97
version = "1.4"
version = "1.5"
blocks = [ "Plugin_Blocks&ItemsCounter" ]