Skip to content

Commit

Permalink
yea
Browse files Browse the repository at this point in the history
  • Loading branch information
Vazkii committed Apr 11, 2024
1 parent 3b34027 commit 02a14a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ private static boolean appendNextTo(ResourceKey<CreativeModeTab> tabKey, Mutable
ItemSet firstSet = coll.iterator().next();
ItemLike firstSetItem = firstSet.items.get(0);
ItemLike target = map.get(firstSet);
logVerbose(() -> "target is " + target);

if(log) {
Zeta.GLOBAL_LOG.error("Creative tab loop found when adding {} next to {}", firstSetItem, target);
Expand All @@ -256,7 +257,7 @@ private static boolean appendNextTo(ResourceKey<CreativeModeTab> tabKey, Mutable
logVerbose(() -> "Comparing item " + item + " to our target " + targetItem);

if(item == targetItem) {
logVerbose(() -> "Matched");
logVerbose(() -> "Matched! Adding successfully");
for(int i = 0; i < firstSet.items.size(); i++) {
int j = i;
if(!behind)
Expand Down

0 comments on commit 02a14a5

Please sign in to comment.