Working on Spatial Stuff.

This commit is contained in:
Sebastian Hartte
2020-07-17 22:38:27 +02:00
parent 0c5c23e9ff
commit 15d4583c56
35 changed files with 860 additions and 693 deletions
@@ -117,10 +117,10 @@ public class SpatialIOPortBlockEntity extends AENetworkInvBlockEntity implements
@Override
public Void call(final World world) throws Exception {
if (!(world instanceof ServerWorld)) {
if (!(this.world instanceof ServerWorld)) {
return null;
}
ServerWorld serverWorld = (ServerWorld) world;
ServerWorld serverWorld = (ServerWorld) this.world;
final ItemStack cell = this.inv.getInvStack(0);
if (this.isSpatialCell(cell) && this.inv.getInvStack(1).isEmpty()) {