Package com.tommytony.war.structure

Examples of com.tommytony.war.structure.ZoneLobby.initialize()


        // Move the warzone lobby
        ZoneLobby lobby = givenWarzone.getLobby();
        if (lobby != null) {
          // reset existing lobby and save new volume at new location
          lobby.setLocation(player.getLocation());
          lobby.initialize();
          this.msg("Warzone lobby moved to your location.");
        } else {
          // new lobby
          lobby = new ZoneLobby(givenWarzone, player.getLocation());
          givenWarzone.setLobby(lobby);
View Full Code Here


          this.msg("Warzone lobby moved to your location.");
        } else {
          // new lobby
          lobby = new ZoneLobby(givenWarzone, player.getLocation());
          givenWarzone.setLobby(lobby);
          lobby.initialize();
          if (War.war.getWarHub() != null) { // warhub has to change
            War.war.getWarHub().getVolume().resetBlocks();
            War.war.getWarHub().initialize();
          }
          this.msg("Warzone lobby moved to your location.");
View Full Code Here

      if (lobby != null) {
        // reset existing lobby
        lobby.getVolume().resetBlocks();
        lobby.setWall(wall);
        lobby.initialize();
        this.msg("Warzone lobby moved to " + wallStr + " side of zone.");
      } else {
        // new lobby
        lobby = new ZoneLobby(zone, wall);
        zone.setLobby(lobby);
View Full Code Here

        this.msg("Warzone lobby moved to " + wallStr + " side of zone.");
      } else {
        // new lobby
        lobby = new ZoneLobby(zone, wall);
        zone.setLobby(lobby);
        lobby.initialize();
        if (War.war.getWarHub() != null) { // warhub has to change
          War.war.getWarHub().getVolume().resetBlocks();
          War.war.getWarHub().initialize();
        }
        this.msg("Warzone lobby created on " + wallStr + "side of zone.");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.