public boolean canLoot(MapleCharacter player, int itemid) {
        if (player.isAdmin()) {
            return true;
        }
        int i = 0;
        if (!player.isGenin() && Items.isSummonBag(itemid)) {
            return false;
        }
        switch (itemid) {
            case 4000241:
                i = 1;
                break;
            case 4000332:
                i = 2;
                break;
            case 4000131:
                i = 3;
                break;
            case 4001063:
                i = 4;
                break;
            case 4000415:
                i = 5;
                break;
        }
        if (i == 0) {
            return true;
        } else {
            return player.getVillage() == (Village.getVillageByItem(itemid));
        }
    }