Undid change from char to String

This commit is contained in:
Tim Southwick 2020-09-13 11:09:56 -04:00
parent a8726cc643
commit 7e151cd3c4

View File

@ -348,14 +348,14 @@ public class ChestSortOrganizer {
return new HashMap<String, String>(); return new HashMap<String, String>();
} }
String blocksFirst; char blocksFirst;
String itemsFirst; char itemsFirst;
if (item.getType().isBlock()) { if (item.getType().isBlock()) {
blocksFirst = "!"; // ! is before # in ASCII blocksFirst = '!'; // ! is before # in ASCII
itemsFirst = "#"; itemsFirst = '#';
} else { } else {
blocksFirst = "#"; blocksFirst = '#';
itemsFirst = "!"; itemsFirst = '!';
} }
String[] typeAndColor = getTypeAndColor(item.getType().name()); String[] typeAndColor = getTypeAndColor(item.getType().name());