Fixed queueLookup API method returning data in wrong order

This commit is contained in:
Intelli 2022-03-25 16:50:05 -06:00
parent d34b60dc8f
commit 204456d6c5

View File

@ -1,6 +1,7 @@
package net.coreprotect.api;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
@ -74,6 +75,7 @@ public class QueueLookup extends Queue {
}
}
Collections.reverse(result);
}
catch (Exception e) {
e.printStackTrace();