Skip to content

Commit 634b469

Browse files
committed
untested but it's against the rules to use it in play
1 parent 066fd20 commit 634b469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/dev/dfonline/codeclient/CodeClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public void onInitializeClient() {
153153
ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> CommandManager.init(dispatcher, registryAccess));
154154

155155
ItemTooltipCallback.EVENT.register((stack, context, type, lines) -> {
156-
if (isPreviewingItemTags) {
156+
if (isPreviewingItemTags && location instanceof Creator) {
157157
DFItem item = DFItem.of(stack);
158158
ItemData itemData = item.getItemData();
159159
if (itemData == null) return;

0 commit comments

Comments
 (0)