339340341342343344345
{ i = p.getInventory().getItemByItemId(DIMENSIONAL_FRAGMENT_ITEM_ID); p.destroyItem("RiftEntrance", i.getObjectId(), getNeededItems(type), null, false); } new DimensionalRift(player.getParty(), type, (byte) Rnd.get(1, 9)); }