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.
This commit is contained in:
ZacSharp
2024-07-30 16:39:44 +02:00
parent b915151ae3
commit 6b6931c86d
2 changed files with 10 additions and 32 deletions

View File

@@ -19,10 +19,19 @@ package fi.dy.masa.litematica.schematic.placement;
import com.google.common.collect.ImmutableMap;
import fi.dy.masa.litematica.schematic.LitematicaSchematic;
import net.minecraft.core.BlockPos;
import net.minecraft.world.level.block.Mirror;
import net.minecraft.world.level.block.Rotation;
public class SchematicPlacement extends SchematicPlacementUnloaded {
public class SchematicPlacement {
public String getName() {
throw new LinkageError();
}
public BlockPos getOrigin() {
throw new LinkageError();
}
public Rotation getRotation() {
throw new LinkageError();

View File

@@ -1,31 +0,0 @@
/*
* This file is part of Baritone.
*
* Baritone is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Baritone is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Baritone. If not, see <https://www.gnu.org/licenses/>.
*/
package fi.dy.masa.litematica.schematic.placement;
import net.minecraft.core.BlockPos;
public class SchematicPlacementUnloaded {
public String getName() {
throw new LinkageError();
}
public BlockPos getOrigin() {
throw new LinkageError();
}
}