compile Fabric

This commit is contained in:
dfsek
2021-06-24 19:19:44 -07:00
parent ab9f98994d
commit dc1f1a0339
12 changed files with 85 additions and 157 deletions

View File

@@ -20,8 +20,6 @@ public class BufferedStateManipulator implements BufferedItem {
BlockState state = origin.getWorld().getBlockState(origin.getVector());
state.applyState(data);
state.update(false);
origin.getWorld().setBlockState(origin.getVector(), state);
} catch(Exception e) {
main.logger().warning("Could not apply BlockState at " + origin + ": " + e.getMessage());
e.printStackTrace();

View File

@@ -51,11 +51,6 @@ public class DummyWorld implements World {
throw new UnsupportedOperationException("Cannot get block in DummyWorld");
}
@Override
public void setBlockState(int x, int y, int z, BlockState state) {
}
@Override
public Entity spawnEntity(Location location, EntityType entityType) {
throw new UnsupportedOperationException("Cannot spawn entity in DummyWorld");