mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 06:28:57 +00:00
fixed config reloading and refactored SE names
This commit is contained in:
1 parent
49f6839092
commit
5601e9a9b8
7 files changed
+61
-60
No files matched your search
@@ -54,7 +54,7 @@ public class ExplosiveProjectile extends SiegeEngineProjectile {
|
||||
|
||||
private void CreateEntity(Entity entity, Location loc, Float velocity, Entity player) {
|
||||
World world = entity.getLocation().getWorld();
|
||||
Entity tnt = world.spawnEntity(loc, EntityType.SHULKER_BULLET);
|
||||
Entity tnt = world.spawnEntity(loc, EntityType.SNOWBALL);
|
||||
org.bukkit.entity.Projectile ball = (org.bukkit.entity.Projectile) tnt;
|
||||
if (player instanceof org.bukkit.projectiles.ProjectileSource)
|
||||
ball.setShooter((org.bukkit.projectiles.ProjectileSource) player);
|
||||
|
||||
Reference in new issue
Block a user