@Override
			public void mouseReleased(MouseEvent arg0) {
				preventPopup = true;
				picture.setVisible(true);
				Point newPoint = new Point(instance.getLocation().x + arg0.getPoint().x - Launcher.getMainPanel().splitPane.getDividerLocation(), instance.getLocation().y + arg0.getPoint().y);
				if (Launcher.getMainPanel().paperMap.getBounds().contains(newPoint)) {
					EquipLogic.equip(Launcher.getMainPanel().currentItem, Constants.player);
					Launcher.getMainPanel().updatePanels();
				}
				gridParent.removeDragable(instance);
				System.out.println("mouse released");
			}