mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-22 08:15:05 +01:00
SPIGOT-6634: Override needed method
By: DerFrZocker <derrieple@gmail.com>
This commit is contained in:
parent
0a1df9ec02
commit
02134e4ee6
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ import net.minecraft.world.level.levelgen.HeightMap;
|
||||||
import net.minecraft.world.level.lighting.LightEngine;
|
import net.minecraft.world.level.lighting.LightEngine;
|
||||||
import net.minecraft.world.level.material.Fluid;
|
import net.minecraft.world.level.material.Fluid;
|
||||||
import net.minecraft.world.level.material.FluidType;
|
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.level.storage.WorldData;
|
||||||
import net.minecraft.world.phys.AxisAlignedBB;
|
import net.minecraft.world.phys.AxisAlignedBB;
|
||||||
|
|
||||||
|
@ -186,7 +187,7 @@ public class DummyGeneratorAccess implements GeneratorAccess {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Fluid getFluid(BlockPosition blockposition) {
|
public Fluid getFluid(BlockPosition blockposition) {
|
||||||
throw new UnsupportedOperationException("Not supported yet.");
|
return FluidTypes.EMPTY.h(); // SPIGOT-6634
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue