SPIGOT-6634: Override needed method

By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2021-07-09 23:48:16 +10:00
parent 0a1df9ec02
commit 02134e4ee6

View file

@ -34,6 +34,7 @@ import net.minecraft.world.level.levelgen.HeightMap;
import net.minecraft.world.level.lighting.LightEngine;
import net.minecraft.world.level.material.Fluid;
import net.minecraft.world.level.material.FluidType;
import net.minecraft.world.level.material.FluidTypes;
import net.minecraft.world.level.storage.WorldData;
import net.minecraft.world.phys.AxisAlignedBB;
@ -186,7 +187,7 @@ public class DummyGeneratorAccess implements GeneratorAccess {
@Override
public Fluid getFluid(BlockPosition blockposition) {
throw new UnsupportedOperationException("Not supported yet.");
return FluidTypes.EMPTY.h(); // SPIGOT-6634
}
@Override