Skip to content

Commit

Permalink
fix (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
HoleFish authored Sep 1, 2024
1 parent 305ecbe commit a22f4fa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/tconstruct/blocks/slime/SlimeGel.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;

import cpw.mods.fml.relauncher.Side;
Expand Down Expand Up @@ -76,7 +77,13 @@ public void getSubBlocks(Block b, CreativeTabs par2CreativeTabs, List<ItemStack>
// par3List.add(new ItemStack(par1, 1, 2));
}

public boolean canSustainLeaves(World world, int x, int y, int z) {
@Override
public boolean canSustainLeaves(IBlockAccess world, int x, int y, int z) {
return true;
}

@Override
public boolean isWood(IBlockAccess world, int x, int y, int z) {
return true;
}
}

0 comments on commit a22f4fa

Please sign in to comment.