Update JeffChestSortListener.java

This commit is contained in:
JEFF 2018-08-12 18:37:52 +02:00 committed by GitHub
parent 9e52e8d57f
commit 7c39889733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,9 +152,6 @@ public class JeffChestSortListener implements Listener {
// put everything back in the inventory
for (String s : shortenedArray) {
if (plugin.debug) {
System.out.println(s);
}
for (ItemStack item : items) {
if (item != null && s != null) {
if (item.hashCode() == Integer.parseInt(s.split(",")[1])) {