Skip to content

Commit 6b6931c

Browse files
committed
Remove unused stub
The class doesn't even exist in the version of Litematica I'm using so it doesn't seem to have an effect on descriptor strings in our bytecode. Otherwise my game would crash.
1 parent b915151 commit 6b6931c

File tree

2 files changed

+10
-32
lines changed

2 files changed

+10
-32
lines changed

src/schematica_api/java/fi/dy/masa/litematica/schematic/placement/SchematicPlacement.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@
1919

2020
import com.google.common.collect.ImmutableMap;
2121
import fi.dy.masa.litematica.schematic.LitematicaSchematic;
22+
import net.minecraft.core.BlockPos;
2223
import net.minecraft.world.level.block.Mirror;
2324
import net.minecraft.world.level.block.Rotation;
2425

25-
public class SchematicPlacement extends SchematicPlacementUnloaded {
26+
public class SchematicPlacement {
27+
28+
public String getName() {
29+
throw new LinkageError();
30+
}
31+
32+
public BlockPos getOrigin() {
33+
throw new LinkageError();
34+
}
2635

2736
public Rotation getRotation() {
2837
throw new LinkageError();

src/schematica_api/java/fi/dy/masa/litematica/schematic/placement/SchematicPlacementUnloaded.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)