mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 14:38:55 +00:00
Version 0.7.5
Added Mounting, Fixed Releasing from distance
This commit is contained in:
1 parent
7e1a4a6269
commit
9b30e0749f
11 files changed
+148
-56
No files matched your search
@@ -57,7 +57,7 @@ public class PotionProjectile extends SiegeEngineProjectile {
|
||||
} else {
|
||||
arrow.setVelocity(loc.getDirection().multiply(velocity));
|
||||
}
|
||||
arrow.setMetadata("isExplosiveProj", SiegeEnginesUtil.addMetaDataValue("true"));
|
||||
arrow.setMetadata("isPotionProj", SiegeEnginesUtil.addMetaDataValue("true"));
|
||||
Bukkit.getServer().getPluginManager().callEvent(new org.bukkit.event.entity.ProjectileLaunchEvent(arrow));
|
||||
ItemStack itemStack = new ItemStack(Material.SPLASH_POTION);
|
||||
PotionMeta potionMeta = (PotionMeta) itemStack.getItemMeta();
|
||||
|
||||
Reference in new issue
Block a user