Micro Update
SGTeams inv click fix.
This commit is contained in:
parent
7fd40b38dd
commit
3a220b6f1c
@ -192,5 +192,7 @@ public class Micro extends TeamGame
|
||||
return;
|
||||
|
||||
event.AddMod(GetName(), "Projectile Reduce", -2, false);
|
||||
|
||||
event.AddKnockback("Increase", 1.6d);
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.kit.Kit;
|
||||
@ -20,7 +21,11 @@ public class KitArcher extends Kit
|
||||
|
||||
new String[]
|
||||
{
|
||||
"Shoot shoot!"
|
||||
"Shoot shoot!",
|
||||
" ",
|
||||
C.cGreen + "Wood Sword",
|
||||
C.cGreen + "Bow",
|
||||
C.cGreen + "3 Apples",
|
||||
},
|
||||
|
||||
new Perk[]
|
||||
|
@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.kit.Kit;
|
||||
@ -20,12 +21,14 @@ public class KitFighter extends Kit
|
||||
|
||||
new String[]
|
||||
{
|
||||
"HE LIKES TO FIGHT!"
|
||||
"HE LIKES TO FIGHT!",
|
||||
" ",
|
||||
C.cGreen + "Stone Sword",
|
||||
C.cGreen + "5 Apples",
|
||||
},
|
||||
|
||||
new Perk[]
|
||||
{
|
||||
new PerkIronSkin(1)
|
||||
},
|
||||
EntityType.ZOMBIE,
|
||||
new ItemStack(Material.STONE_SWORD));
|
||||
@ -35,7 +38,7 @@ public class KitFighter extends Kit
|
||||
@Override
|
||||
public void GiveItems(Player player)
|
||||
{
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.WOOD_SWORD));
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.STONE_SWORD));
|
||||
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.APPLE, 5));
|
||||
}
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import mineplex.core.common.util.C;
|
||||
import mineplex.core.itemstack.ItemStackFactory;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.kit.Kit;
|
||||
@ -19,7 +20,12 @@ public class KitWorker extends Kit
|
||||
|
||||
new String[]
|
||||
{
|
||||
"DIG DIG!"
|
||||
"DIG DIG!",
|
||||
" ",
|
||||
C.cGreen + "Wood Sword",
|
||||
C.cGreen + "Stone Spade",
|
||||
C.cGreen + "Stone Pickaxe",
|
||||
C.cGreen + "4 Apples",
|
||||
},
|
||||
|
||||
new Perk[]
|
||||
|
@ -173,6 +173,8 @@ public class SurvivalGamesTeams extends TeamGame
|
||||
this.ItemPickup = true;
|
||||
|
||||
this.CompassEnabled = false; //XXX
|
||||
|
||||
this.InventoryClick = true;
|
||||
|
||||
//Blocks
|
||||
this.BlockBreakAllow.add(46); //TNT
|
||||
|
Loading…
Reference in New Issue
Block a user