| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -279,12 +279,14 @@ public class ItemTemplate { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                } | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            JSONArray powerGrants = (JSONArray) jsonObject.get("item_power_grant"); | 
					 | 
					 | 
					 | 
					            JSONArray powerGrants = (JSONArray) jsonObject.get("item_power_grant"); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            for (Object o : powerGrants) { | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                JSONObject powerGrantEntry = (JSONObject) o; | 
					 | 
					 | 
					 | 
					            if (powerGrants.isEmpty() == false) | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                String power_type = (String) powerGrantEntry.get("power_type"); | 
					 | 
					 | 
					 | 
					                for (Object o : powerGrants) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                int power_value = ((Long) powerGrantEntry.get("power_value")).intValue(); | 
					 | 
					 | 
					 | 
					                    JSONObject powerGrantEntry = (JSONObject) o; | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                item_power_grant.put(power_type, power_value); | 
					 | 
					 | 
					 | 
					                    String power_type = (String) powerGrantEntry.get("power_type"); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					                    int power_value = ((Long) powerGrantEntry.get("power_value")).intValue(); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    item_power_grant.put(power_type, power_value); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } catch (Exception e) { | 
					 | 
					 | 
					 | 
					        } catch (Exception e) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |