From 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Fri, 27 Jan 2017 11:32:28 +0300 Subject: License, readme and stuff --- ihl/tunneling_shield/MultiBlockSpacerBlock.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'ihl/tunneling_shield/MultiBlockSpacerBlock.java') diff --git a/ihl/tunneling_shield/MultiBlockSpacerBlock.java b/ihl/tunneling_shield/MultiBlockSpacerBlock.java index 511d8cd..79e5955 100644 --- a/ihl/tunneling_shield/MultiBlockSpacerBlock.java +++ b/ihl/tunneling_shield/MultiBlockSpacerBlock.java @@ -22,7 +22,7 @@ import net.minecraft.world.World; public class MultiBlockSpacerBlock extends Block { - public static Set teList = new HashSet(); + public static Set teList = new HashSet(); public MultiBlockSpacerBlock() { @@ -37,7 +37,12 @@ public class MultiBlockSpacerBlock extends Block { { return -2; } - + + @Override + public ArrayList getDrops(World world,int x, int y, int z, int meta, int flag) + { + return new ArrayList(); + } @Override public void onBlockDestroyedByExplosion(World world, int x, int y, int z, Explosion explosion) { @@ -100,14 +105,6 @@ public class MultiBlockSpacerBlock extends Block { return null; } - @Override - public ArrayList getDrops(World world,int x, int y, int z, int meta, int flag) - { - ArrayList nothing = new ArrayList(); - nothing.clear(); - return nothing; - } - /** * Is this block (a) opaque and (B) a full 1m cube? This determines whether or not to render the shared face of two * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. -- cgit v1.2.3