Fixed party out of bounds exception.
Fixed tnt in wrong place in dom shop.
This commit is contained in:
parent
b72bcadbf4
commit
eae2d41fad
@ -171,7 +171,7 @@ public class Party
|
||||
if (player.getName().equals(GetLeader()))
|
||||
{
|
||||
_players.remove(player.getName());
|
||||
_players.add(1, player.getName());
|
||||
_players.add(0, player.getName());
|
||||
|
||||
Announce("Party Leadership passed on to " + F.name(GetLeader()) + ".");
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ public class SkillPage extends ShopPageBase<ClassShopManager, ClassCombatShop>
|
||||
slotNumber = 65;
|
||||
else if (item.GetType() == Material.MUSHROOM_SOUP)
|
||||
slotNumber = 67;
|
||||
else if (item.GetType() == Material.COMMAND)
|
||||
else if (item.GetType() == Material.TNT)
|
||||
slotNumber = 68;
|
||||
else if (item.GetType() == Material.WEB)
|
||||
slotNumber = 69;
|
||||
|
@ -8,6 +8,7 @@ import mineplex.core.updater.event.UpdateEvent;
|
||||
import nautilus.game.arcade.ArcadeManager;
|
||||
import nautilus.game.arcade.game.Game.GameState;
|
||||
import nautilus.game.arcade.world.WorldData;
|
||||
import net.minecraft.server.v1_7_R3.ChunkPreLoadEvent;
|
||||
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
@ -55,7 +56,7 @@ public class GameWorldManager implements Listener
|
||||
}
|
||||
}
|
||||
|
||||
/* XXX This stops outside chunks from loading
|
||||
/*
|
||||
@EventHandler
|
||||
public void ChunkLoad(ChunkPreLoadEvent event)
|
||||
{
|
||||
@ -63,7 +64,7 @@ public class GameWorldManager implements Listener
|
||||
if (Manager.GetGame().WorldData != null)
|
||||
Manager.GetGame().WorldData.ChunkLoad(event);
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
||||
@EventHandler
|
||||
public void ChunkUnload(ChunkUnloadEvent event)
|
||||
|
Loading…
Reference in New Issue
Block a user