mirror of
https://github.com/GTNewHorizons/Draconic-Evolution.git
synced 2026-10-26 14:24:14 +00:00
spotless + fixes
This commit is contained in:
1 parent
19f774729f
commit
78fcc09002
1 file changed
+2
-5
+2
-5
@@ -3,6 +3,7 @@ package com.brandon3055.draconicevolution.common.blocks.machine;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IIconRegister;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
@@ -101,7 +102,7 @@ public class DissEnchanter extends BlockCustomDrop {
|
||||
@Override
|
||||
public void onNeighborBlockChange(World worldIn, int x, int y, int z, Block neighbor) {
|
||||
boolean powered = worldIn.isBlockIndirectlyGettingPowered(x, y, z)
|
||||
|| worldIn.isBlockIndirectlyGettingPowered(x, y - 1, z);
|
||||
|| worldIn.isBlockIndirectlyGettingPowered(x, y - 1, z);
|
||||
int meta = worldIn.getBlockMetadata(x, y, z);
|
||||
boolean metaUnpowered = (meta & 8) == 0;
|
||||
|
||||
@@ -114,10 +115,6 @@ public class DissEnchanter extends BlockCustomDrop {
|
||||
worldIn.setBlockMetadataWithNotify(x, y, z, meta & -9, 4);
|
||||
}
|
||||
|
||||
public void breakBlock(World w, int x, int y, int z, Block b, int meta) {
|
||||
MiscUtils.dropItemsOnBlockBreak(w, x, y, z, b, meta);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void randomDisplayTick(World world, int x, int y, int z, Random rand) {
|
||||
|
||||
Reference in new issue
Block a user