Fixed bug in MineStrike
This commit is contained in:
parent
f0fa3469df
commit
e36f843feb
@ -89,6 +89,8 @@ public class TextManager extends MiniPlugin
|
||||
UtilText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-15, 21, 0), faceSurvival, 159, (byte)1, TextAlign.CENTER);
|
||||
UtilText.MakeText("SURVIVAL GAMES", locSurvival.clone().add(-16, 21, 0), faceSurvival, 159, (byte)15, TextAlign.CENTER);
|
||||
|
||||
//UtilText.MakeText("ULTRA HARDCORE", locSurvival.clone().add(-15, 28, 0), faceSurvival, 159, (byte)14, TextAlign.CENTER);
|
||||
//UtilText.MakeText("ULTRA HARDCORE", locSurvival.clone().add(-16, 28, 0), faceSurvival, 159, (byte)15, TextAlign.CENTER);
|
||||
|
||||
//Other
|
||||
UtilText.MakeText("CLASSICS", locClassics, faceOther, 159, (byte)5, TextAlign.CENTER);
|
||||
|
@ -740,16 +740,16 @@ public class MineStrike extends TeamGame
|
||||
Gun gun = _gunsDropped.get(event.getItem());
|
||||
if (gun != null)
|
||||
{
|
||||
gun.pickup(this, event.getPlayer());
|
||||
event.getItem().remove();
|
||||
if (gun.pickup(this, event.getPlayer()))
|
||||
event.getItem().remove();
|
||||
}
|
||||
|
||||
//Grenades
|
||||
Grenade grenade = _grenadesDropped.get(event.getItem());
|
||||
if (grenade != null)
|
||||
{
|
||||
grenade.pickup(this, event.getPlayer());
|
||||
event.getItem().remove();
|
||||
if (grenade.pickup(this, event.getPlayer()))
|
||||
event.getItem().remove();
|
||||
}
|
||||
|
||||
//Defusal
|
||||
|
@ -185,6 +185,8 @@ public abstract class Grenade extends StrikeItem
|
||||
{
|
||||
game.registerGrenade(this, player);
|
||||
game.deregisterDroppedGrenade(this);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
@ -174,6 +174,8 @@ public class SurvivalGames extends SoloGame
|
||||
this.ItemPickup = true;
|
||||
|
||||
this.InventoryClick = true;
|
||||
this.InventoryOpenBlock = true;
|
||||
this.InventoryOpenChest = true;
|
||||
|
||||
this.CompassEnabled = false; //XXX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user