small hotfix
This commit is contained in:
parent
2533e1a8e9
commit
be3bc5cbd0
@ -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();
|
||||
|
@ -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" ]
|
||||
|
Loading…
Reference in New Issue
Block a user