public static boolean InspectPickUpDrop(int x, int y, Drop pr, boolean IsByPet) { Point pt; Rectangle rc = new Rectangle(); int nx, ny, ny2; if (pr != null) { pt = new Point(pr.getPosition().x, pr.getPosition().y); nx = 45; ny = 70; ny2 = 35; if (!pr.IsMoney() && MapleItemInformationProvider.getInstance().IsBigSizeItem(pr.getItemId())) { pt.y -= 32; nx = 90; ny2 = 200; ny = 200; } else { pt.y -= 16; } rc.x = x - nx; rc.y = y - ny; rc.height = y + ny2; rc.width = x + nx; return rc.contains(pt); } return true; }