Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 04:50:06 +01:00
Added method to create an explosion in world. Thanks Zaraza107!
Dieser Commit ist enthalten in:
Ursprung
b0714775e1
Commit
4a0eb0a4a1
@ -441,6 +441,10 @@ public class CraftWorld implements World {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean createExplosion(double x, double y, double z, float power) {
|
||||||
|
return world.a(null, x, y, z, power).wasCanceled ? false : true;
|
||||||
|
}
|
||||||
|
|
||||||
public Environment getEnvironment() {
|
public Environment getEnvironment() {
|
||||||
return environment;
|
return environment;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren