diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-01-27 11:32:28 +0300 |
| commit | 2db8e30b1d2151fdde5d08a6c06aef55f0c397d2 (patch) | |
| tree | e8cd0022f3a30a5c952092e0ea4c7ffdafcdf7bb /ihl/tunneling_shield/MultiBlockSpacerBlock.java | |
| parent | ffe23313fb7421b0a1849b420baf708999023f7b (diff) | |
License, readme and stuff
Diffstat (limited to 'ihl/tunneling_shield/MultiBlockSpacerBlock.java')
| -rw-r--r-- | ihl/tunneling_shield/MultiBlockSpacerBlock.java | 17 |
1 files changed, 7 insertions, 10 deletions
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<IMultiBlock> teList = new HashSet();
+ public static Set<IMultiBlock> teList = new HashSet<IMultiBlock>();
public MultiBlockSpacerBlock()
{
@@ -37,7 +37,12 @@ public class MultiBlockSpacerBlock extends Block { {
return -2;
}
-
+
+ @Override
+ public ArrayList<ItemStack> getDrops(World world,int x, int y, int z, int meta, int flag)
+ {
+ return new ArrayList<ItemStack>();
+ }
@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<ItemStack> getDrops(World world,int x, int y, int z, int meta, int flag)
- {
- ArrayList<ItemStack> 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.
|
