Added method to create an explosion in world. Thanks Zaraza107!

By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
CraftBukkit/Spigot 2011-06-09 04:17:19 -04:00
parent 0965fddfe3
commit 747d1962ab

View file

@ -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() {
return environment;
}