mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:46:05 +03:00
12 lines
527 B
Diff
12 lines
527 B
Diff
--- ../src-base/minecraft/net/minecraft/world/gen/feature/WorldGenGlowStone1.java
|
|
+++ ../src-work/minecraft/net/minecraft/world/gen/feature/WorldGenGlowStone1.java
|
|
@@ -27,7 +27,7 @@
|
|
{
|
|
BlockPos blockpos = position.add(rand.nextInt(8) - rand.nextInt(8), -rand.nextInt(12), rand.nextInt(8) - rand.nextInt(8));
|
|
|
|
- if (worldIn.getBlockState(blockpos).getMaterial() == Material.AIR)
|
|
+ if (worldIn.isAirBlock(blockpos))
|
|
{
|
|
int j = 0;
|
|
|