mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 06:40:05 +03:00
12 lines
546 B
Diff
12 lines
546 B
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/feature/WorldGenLiquids.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/feature/WorldGenLiquids.java
|
|
@@ -31,7 +31,7 @@
|
|
{
|
|
IBlockState iblockstate = worldIn.getBlockState(position);
|
|
|
|
- if (iblockstate.getMaterial() != Material.AIR && iblockstate.getBlock() != Blocks.STONE)
|
|
+ if (!iblockstate.getBlock().isAir(iblockstate, worldIn, position) && iblockstate.getBlock() != Blocks.STONE)
|
|
{
|
|
return false;
|
|
}
|