3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-02 17:40:09 +01:00

Add missing upstream methods

Dieser Commit ist enthalten in:
N0tMyFaultOG 2020-12-02 17:12:04 +01:00
Ursprung 3b201536a8
Commit 1bdac416d0
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 823348042DA95A81
2 geänderte Dateien mit 21 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -398,13 +398,18 @@ public class AsyncBlock implements Block {
}
public boolean applyBoneMeal(@NotNull BlockFace face) {
throw new UnsupportedOperationException("FAWE does not support this method");
throw new UnsupportedOperationException("FAWE does not support this yet");
}
public String getTranslationKey() {
throw new UnsupportedOperationException("FAWE does not support this yet");
}
@NotNull
@Override
public float getDestroySpeed(@NotNull ItemStack itemStack) {
throw new UnsupportedOperationException("FAWE does not support this yet");
}
@NotNull
@Override

Datei anzeigen

@ -649,6 +649,21 @@ public class AsyncWorld extends PassthroughExtent implements World {
parent.setThunderDuration(duration);
}
@Override
public boolean isClearWeather() {
return parent.isClearWeather();
}
@Override
public void setClearWeatherDuration(int duration) {
parent.setClearWeatherDuration(duration);
}
@Override
public int getClearWeatherDuration() {
return parent.getClearWeatherDuration();
}
@Override
public boolean createExplosion(double x, double y, double z, float power) {
return this.createExplosion(x, y, z, power, false, true);