Pushed fixes
This commit is contained in:
parent
6e1f88c14f
commit
189b22ab4c
@ -136,15 +136,13 @@ public class HungerGames extends SoloGame
|
||||
this.DamageSelf = true;
|
||||
this.DamageTeamSelf = true;
|
||||
|
||||
this.DeathOut = false; //XXX
|
||||
//this.DeathOut = false; //XXX
|
||||
this.DeathDropItems = true;
|
||||
|
||||
this.ItemDrop = true;
|
||||
this.ItemPickup = true;
|
||||
|
||||
this.CompassEnabled = true;
|
||||
|
||||
this.GemMultiplier = 2;
|
||||
this.CompassEnabled = false; //XXX
|
||||
|
||||
//Blocks
|
||||
this.BlockBreakAllow.add(46); //TNT
|
||||
|
@ -18,6 +18,7 @@ import org.bukkit.event.player.PlayerInteractEvent;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.common.util.F;
|
||||
import mineplex.core.common.util.UtilAction;
|
||||
import mineplex.core.common.util.UtilInv;
|
||||
import mineplex.core.common.util.UtilPlayer;
|
||||
import nautilus.game.arcade.kit.Perk;
|
||||
@ -97,8 +98,9 @@ public class PerkTNTArrow extends Perk
|
||||
//TNT
|
||||
TNTPrimed tnt = player.getWorld().spawn(player.getEyeLocation().add(0, 2, 0), TNTPrimed.class);
|
||||
((CraftTNTPrimed)tnt).getHandle().spectating = true;
|
||||
UtilAction.velocity(tnt, player.getLocation().getDirection(), event.getProjectile().getVelocity().length(), false, 0, 0.1, 10, false);
|
||||
|
||||
event.getProjectile().setPassenger(tnt);
|
||||
event.getProjectile().remove();
|
||||
|
||||
_tntMap.put(tnt, player);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user