From 0b0710458ff164e17cce8fa68bb4c69903490e96 Mon Sep 17 00:00:00 2001 From: Shaun Bennett Date: Fri, 27 Nov 2015 03:22:17 -0500 Subject: [PATCH] Hub updates/try to fix chiss stuff --- .../src/mineplex/game/clans/Clans.java | 2 +- .../hub/server/ui/clans/ClansServerPage.java | 35 +++++++++++-------- .../hub/server/ui/clans/ClansServerShop.java | 2 +- .../game/games/minestrike/MineStrike.java | 6 +--- .../minestrike/items/grenades/Smoke.java | 12 +++---- 5 files changed, 27 insertions(+), 30 deletions(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/Clans.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/Clans.java index 072549742..5f6fd52d2 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/Clans.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/Clans.java @@ -119,7 +119,7 @@ public class Clans extends JavaPlugin new CustomTagFix(this, packetHandler); GearManager customGear = new GearManager(this, packetHandler, _clientManager, _donationManager); - HologramManager hologram = new HologramManager(this); + HologramManager hologram = new HologramManager(this, packetHandler); _clansManager = new ClansManager(this, serverStatusManager.getCurrentServerName(), packetHandler, _clientManager, _donationManager, preferenceManager, blockRestore, teleport, chat, customGear, hologram, webServerAddress); new Recipes(this); new Farming(this); diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/clans/ClansServerPage.java b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/clans/ClansServerPage.java index fee39d92e..87a5a8f35 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/clans/ClansServerPage.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ui/clans/ClansServerPage.java @@ -32,7 +32,7 @@ public class ClansServerPage extends ShopPageBase public ClansServerShop(ServerManager plugin, CoreClientManager clientManager, DonationManager donationManager) { - super(plugin, clientManager, donationManager, "Clans"); + super(plugin, clientManager, donationManager, "Clans Alpha"); _repository = new ClanRepository(plugin.getPlugin(), plugin.getStatusManager().getCurrentServerName()); } diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java index 166baf04d..1024a5338 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/MineStrike.java @@ -2174,16 +2174,12 @@ public class MineStrike extends TeamGame //Incendiary _incendiary.clear(); -<<<<<<< HEAD Manager.GetBlockRestore().restoreAll(); -======= - Manager.GetBlockRestore().RestoreAll(); - + //Smoke for (Block block : _smokeBlocks.keySet()) block.setType(Material.AIR); _smokeBlocks.clear(); ->>>>>>> master //Restock Ammo for (Gun gun : _gunsEquipped.keySet()) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/items/grenades/Smoke.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/items/grenades/Smoke.java index a96942805..dbbd4dddb 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/items/grenades/Smoke.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/minestrike/items/grenades/Smoke.java @@ -42,19 +42,15 @@ public class Smoke extends Grenade { // UtilParticle.PlayParticle(ParticleType.HUGE_EXPLOSION, ent.getLocation(), 0.3f, 0.3f, 0.3f, 0, 1, // ViewDist.MAX, UtilServer.getPlayers()); - -<<<<<<< HEAD + UtilParticle.PlayParticle(ParticleType.CLOUD, ent.getLocation(), 1.5f, 1.5f, 1.5f, 0, 100, ViewDist.MAX, UtilServer.getPlayers()); - + ent.getWorld().playSound(ent.getLocation(), Sound.FIZZ, 0.1f, 0.1f); - - for (Location loc : game.Manager.GetBlockRestore().restoreBlockAround(Material.FIRE, ent.getLocation(), 5)) -======= + //Remove Fire - for (Location loc : game.Manager.GetBlockRestore().RestoreBlockAround(Material.FIRE, ent.getLocation(), 5)) ->>>>>>> master + for (Location loc : game.Manager.GetBlockRestore().restoreBlockAround(Material.FIRE, ent.getLocation(), 5)) { loc.getWorld().playSound(loc, Sound.FIZZ, 1f, 1f); }