mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 06:28:57 +00:00
cannons working amazingly
This commit is contained in:
1 parent
261b42e8a8
commit
e4350c7452
8 files changed
+9
-7
No files matched your search
@@ -56,8 +56,10 @@ public class ClickHandler implements Listener {
|
||||
// world.createExplosion(loc, proj.Radius, proj.DoFire);
|
||||
Entity tnt = event.getEntity().getWorld().spawnEntity(loc, EntityType.PRIMED_TNT);
|
||||
TNTPrimed tntEnt = (TNTPrimed) tnt;
|
||||
tntEnt.setFuseTicks(0);
|
||||
tntEnt.setYield(proj.Radius);
|
||||
tntEnt.setFuseTicks(0);
|
||||
|
||||
|
||||
|
||||
projectiles.remove(event.getEntity().getUniqueId());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user