public static void updateElementConsistency(Object parent, GridElement geIN) {
		GridElement toUpdate = null;
		InventoryGrid ig;
		
		if(parent == mainPanel){
			ig = favPanel.getInventoryGrid();
		} else {
			ig = mainPanel.getInventoryGrid();
		}
			
			for(GridElement ge: ig.getAllGridElements()){
				if(ge.getItem() == geIN.getItem()){
					toUpdate = ge;
				}
			}
			
			System.out.println("GEIN FAV " + geIN.getName() + " " + geIN.isFavorite());
			//Update Favorite consistency
			if((geIN.isFavorite() && !toUpdate.isFavorite()) 
					|| (!geIN.isFavorite() && toUpdate.isFavorite())){
				toUpdate.toggleFavorite();
			} 
			
			//Update hotkey consistency
			if(!geIN.getHotKey().equals(toUpdate.getHotKey())){
				toUpdate.overrideHotKey(geIN.getHotKey());
			}
			
			//Update equipment consistency
			if((geIN.isEquiped() && !toUpdate.isEquiped())
					|| (!geIN.isEquiped() && toUpdate.isEquiped())){
				toUpdate.setEquip(geIN.isEquiped());
			}
		
	}