mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Re-implement World.getTemperature and World.getHumidity
By: Score_Under <seejay.11@gmail.com>
This commit is contained in:
parent
3cc9abe5b8
commit
0eb748f952
1 changed files with 2 additions and 2 deletions
|
@ -523,11 +523,11 @@ public class CraftWorld implements World {
|
|||
}
|
||||
|
||||
public double getTemperature(int x, int z) {
|
||||
throw new UnsupportedOperationException("Not compatible with 1.8");
|
||||
return this.world.getBiome(x, z).F;
|
||||
}
|
||||
|
||||
public double getHumidity(int x, int z) {
|
||||
throw new UnsupportedOperationException("Not compatible with 1.8");
|
||||
return this.world.getBiome(x, z).G;
|
||||
}
|
||||
|
||||
public List<Entity> getEntities() {
|
||||
|
|
Loading…
Add table
Reference in a new issue