pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
+12 -18
View File
@@ -18,28 +18,22 @@
package appeng.util;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
public class BlockUpdate implements IWorldCallable<Boolean> {
private final BlockPos pos;
public class BlockUpdate implements IWorldCallable<Boolean>
{
private final BlockPos pos;
BlockUpdate(final BlockPos pos) {
this.pos = pos;
}
BlockUpdate( final BlockPos pos )
{
this.pos = pos;
}
@Override
public Boolean call(final World world) throws Exception {
if (world.isBlockLoaded(this.pos)) {
world.notifyNeighborsOfStateChange(this.pos, Platform.AIR_BLOCK);
}
@Override
public Boolean call( final World world ) throws Exception
{
if( world.isBlockLoaded( this.pos ) )
{
world.notifyNeighborsOfStateChange( this.pos, Platform.AIR_BLOCK );
}
return true;
}
return true;
}
}