Make sortByType split potions from food

This commit is contained in:
Nathan Watson
2021-01-09 19:07:17 -08:00
parent 4d73eaa341
commit d5f00b25d6

View File

@@ -239,7 +239,7 @@ public class ItemContainer {
default: return 270;
}
} else if (item.itemType.isUsable()) {
if ("pot".equals(item.itemType.id)) {
if ("pot".equals(item.itemType.category.id) || "healing".equals(item.itemType.category.id)) {
return 300;
} else {
return 310;