dont need the fields

This commit is contained in:
Babbaj 2019-07-21 22:06:36 -04:00
parent 074ec333cf
commit 8bf977060e
No known key found for this signature in database
GPG Key ID: 48FD0BEFD63C8E3F
2 changed files with 1 additions and 5 deletions

View File

@ -42,7 +42,7 @@ public enum SchematicaHelper {
return Optional.ofNullable(ClientProxy.schematic)
.map(world -> {
MBlockPos poz = world.position;
return new Tuple<>(new SchematicAdapter(world), new BlockPos(poz.field_177962_a, poz.field_177960_b, poz.field_177961_c));
return new Tuple<>(new SchematicAdapter(world), new BlockPos(poz.getX(), poz.getY(), poz.getZ()));
});
}

View File

@ -20,10 +20,6 @@ package com.github.lunatrius.core.util.math;
import net.minecraft.util.math.BlockPos;
public class MBlockPos extends BlockPos {
public int field_177962_a; // x
public int field_177960_b; // y
public int field_177961_c; // z
private MBlockPos() {
super(6, 6, 6);
}