/*     */   public static void toggleGhostMode(Player player) {
/* 161 */     if (playerMap.containsKey(player))
/*     */     {
/* 163 */       ArrayList<BlockState> blockStateList = (ArrayList<BlockState>)playerMap.get(player);
/*     */ 
/* 165 */       for (BlockState blockState : blockStateList) {
/* 166 */         blockLoad(blockState);
/*     */       }
/* 168 */       blockStateList.clear();
/* 169 */       playerMap.remove(player);
/*     */     }
/*     */     else
/*     */     {
/* 173 */       playerMap.put(player, new ArrayList<BlockState>());
/*     */     }
/*     */   }