Files
CatServer/patches/net/minecraft/world/gen/feature/WorldGenGlowStone1.java.patch
2019-02-24 22:29:41 +08:00

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;