Skip to content

Commit

Permalink
Fix server class loading issue with fluid pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bennyboy1695 committed Jul 18, 2024
1 parent 98096f4 commit fcd8c94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/src/main/java/com/copycatsplus/copycats/CCBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
import com.tterrag.registrate.util.entry.RegistryEntry;
import com.tterrag.registrate.util.nullness.NonNullConsumer;
import dev.architectury.injectables.annotations.ExpectPlatform;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.resources.model.BakedModel;
import net.minecraft.core.registries.BuiltInRegistries;
Expand Down Expand Up @@ -671,6 +673,7 @@ public class CCBlocks {
.transform(customItemModel("copycat_base", "door"))
.register();

@Environment(EnvType.CLIENT)
@ExpectPlatform
public static BakedModel getFluidPipeModel(BakedModel original, CopycatModelCore copycat) {
throw new AssertionError();
Expand Down

0 comments on commit fcd8c94

Please sign in to comment.