fix entity paste location offsets

This commit is contained in:
wea_ondara
2020-07-26 19:05:32 +02:00
parent b411ea9af4
commit f24ad69f8f
2 changed files with 3 additions and 3 deletions

View File

@ -124,9 +124,9 @@ public interface IChunkExtent<T extends IChunk> extends Extent {
pos = new ListTag(DoubleTag.class, posList);
map.put("Pos", pos);
}
posList.set(0, new DoubleTag(location.getX() + 0.5));
posList.set(0, new DoubleTag(location.getX()));
posList.set(1, new DoubleTag(location.getY()));
posList.set(2, new DoubleTag(location.getZ() + 0.5));
posList.set(2, new DoubleTag(location.getZ()));
//set new uuid
UUID newuuid = UUID.randomUUID();