mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 13:09:53 +00:00
Doing some code cleanup.
This commit is contained in:
1 parent
038be9da2a
commit
3d866316a7
199 files changed
+797
-381
No files matched your search
@@ -52,6 +52,7 @@ public class SlimeSapling extends BlockSapling
|
||||
return b == Blocks.grass || b == Blocks.dirt || b == TRepo.slimeGrass || b == TRepo.craftedSoil;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTick (World world, int x, int y, int z, Random random)
|
||||
{
|
||||
if (world.isRemote)
|
||||
@@ -114,6 +115,7 @@ public class SlimeSapling extends BlockSapling
|
||||
world.setBlock(x, y, z, Blocks.air, md + 8, 3);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int damageDropped (int i)
|
||||
{
|
||||
return i % 8;
|
||||
|
||||
Reference in new issue
Block a user