Skip to content

Commit

Permalink
fix: remove accidental reference to theurgy's resource location factory
Browse files Browse the repository at this point in the history
Closes #1211
  • Loading branch information
klikli-dev committed Sep 15, 2024
1 parent d4c07a7 commit 421ddbb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.klikli_dev.occultism.network.messages;

import com.klikli_dev.occultism.Occultism;
import com.klikli_dev.occultism.network.IMessage;
import com.klikli_dev.occultism.registry.OccultismItems;
import com.klikli_dev.theurgy.Theurgy;
import net.minecraft.core.BlockPos;
import net.minecraft.network.RegistryFriendlyByteBuf;
import net.minecraft.network.codec.StreamCodec;
Expand All @@ -16,7 +16,7 @@

public class MessageSendPreviewedPentacle implements IMessage {

public static final Type<MessageSendPreviewedPentacle> TYPE = new Type<>(Theurgy.loc("send_previewed_pentacle"));
public static final Type<MessageSendPreviewedPentacle> TYPE = new Type<>(ResourceLocation.fromNamespaceAndPath(Occultism.MODID, "send_previewed_pentacle"));

public static final StreamCodec<RegistryFriendlyByteBuf, MessageSendPreviewedPentacle> STREAM_CODEC =
StreamCodec.composite(
Expand Down

0 comments on commit 421ddbb

Please sign in to comment.