mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Added method to create an explosion in world. Thanks Zaraza107!
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user