mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 07:19:56 +03:00
12 lines
540 B
Diff
12 lines
540 B
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/feature/WorldGenHellLava.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/feature/WorldGenHellLava.java
|
|
@@ -25,7 +25,7 @@
|
|
{
|
|
return false;
|
|
}
|
|
- else if (worldIn.getBlockState(position).getMaterial() != Material.AIR && worldIn.getBlockState(position).getBlock() != Blocks.NETHERRACK)
|
|
+ else if (!worldIn.isAirBlock(position) && worldIn.getBlockState(position).getBlock() != Blocks.NETHERRACK)
|
|
{
|
|
return false;
|
|
}
|