mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Re-implement World.getTemperature and World.getHumidity
This commit is contained in:
1 parent
d484956c10
commit
0f984dd9a5
1 file changed
+2
-2
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user