3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 04:50:06 +01:00

Re-implement World.getTemperature and World.getHumidity

Dieser Commit ist enthalten in:
Score_Under 2012-05-11 13:19:38 +02:00 committet von feildmaster
Ursprung d484956c10
Commit 0f984dd9a5

Datei anzeigen

@ -523,11 +523,11 @@ public class CraftWorld implements World {
} }
public double getTemperature(int x, int z) { 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) { 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() { public List<Entity> getEntities() {