mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-18 03:25:35 +00:00
Updated for latest forge
This commit is contained in:
1 parent
5378912e46
commit
2bccf87f0f
1 file changed
+7
@@ -9,6 +9,7 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Vec3Pool;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.biome.BiomeGenBase;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
||||
public class PartMetaAccess implements IBlockAccess
|
||||
{
|
||||
@@ -131,4 +132,10 @@ public class PartMetaAccess implements IBlockAccess
|
||||
{
|
||||
throw new IllegalArgumentException("Unsupported Operation");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBlockSolidOnSide(int x, int y, int z, ForgeDirection side, boolean _default)
|
||||
{
|
||||
return part.getWorld().isBlockSolidOnSide(x, y, z, side, _default);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user