Skip to content

Commit 7483495

Browse files
committed
Move stuff
1 parent 8173bdc commit 7483495

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,13 @@ public static boolean isItemSimilar(@Nullable ItemStack item, @Nullable ItemStac
342342
return false;
343343
}
344344

345-
SlimefunItem sf_sfitem = SlimefunItem.getByItem(sfitem);
346345
if (!item.hasItemMeta()) {
347346
return !sfitem.hasItemMeta();
348347
}
349348

350349
Debug.log(TestCase.CARGO_INPUT_TESTING, "SlimefunUtils#isItemSimilar - item.hasItemMeta()");
350+
351+
SlimefunItem sf_sfitem = SlimefunItem.getByItem(sfitem);
351352
ItemMeta itemMeta = item.getItemMeta();
352353

353354
if (sf_sfitem != null) {

0 commit comments

Comments
 (0)