Package logisticspipes.modules

Examples of logisticspipes.modules.ModuleQuickSort


  public void processPacket(EntityPlayer player) {
    List<WeakReference<ModuleQuickSort>> list = LogisticsEventListener.chestQuickSortConnection.get(player);
    if(list == null || list.isEmpty()) return;
    MainProxy.sendPacketToPlayer(PacketHandler.getPacket(EnableQuickSortMarker.class), player);
    for(WeakReference<ModuleQuickSort> sorter:list) {
      ModuleQuickSort module = sorter.get();
      if(module == null) continue;
      module.addWatchingPlayer(player);
    }
  }
View Full Code Here


  @Override
  public void processPacket(EntityPlayer player) {
    List<WeakReference<ModuleQuickSort>> list = LogisticsEventListener.chestQuickSortConnection.get(player);
    if(list == null || list.isEmpty()) return;
    for(WeakReference<ModuleQuickSort> sorter:list) {
      ModuleQuickSort module = sorter.get();
      if(module == null) continue;
      module.removeWatchingPlayer(player);
    }
    LogisticsEventListener.chestQuickSortConnection.remove(player);
  }
View Full Code Here

TOP

Related Classes of logisticspipes.modules.ModuleQuickSort

Copyright © 2018 www.massapicom. 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.