diff --git a/src/main/java/org/dimdev/dimdoors/rift/targets/PublicPocketTarget.java b/src/main/java/org/dimdev/dimdoors/rift/targets/PublicPocketTarget.java index 99a63d11..57e14577 100644 --- a/src/main/java/org/dimdev/dimdoors/rift/targets/PublicPocketTarget.java +++ b/src/main/java/org/dimdev/dimdoors/rift/targets/PublicPocketTarget.java @@ -34,7 +34,7 @@ public class PublicPocketTarget extends RestoringTarget { public Location makeLinkTarget() { VirtualLocation riftVirtualLocation = VirtualLocation.fromLocation(this.location); VirtualLocation newVirtualLocation; - int depth = Math.max(riftVirtualLocation.getDepth(), 1); + int depth = riftVirtualLocation.getDepth()+1; newVirtualLocation = new VirtualLocation(riftVirtualLocation.getWorld(), riftVirtualLocation.getX(), riftVirtualLocation.getZ(), depth); Pocket pocket = PocketGenerator.generatePublicPocketV2(newVirtualLocation, new GlobalReference(this.location), null); diff --git a/src/main/resources/data/dimdoors/pockets/json/v2/default_public.json b/src/main/resources/data/dimdoors/pockets/json/v2/default_public.json index 3111ffac..73099e05 100644 --- a/src/main/resources/data/dimdoors/pockets/json/v2/default_public.json +++ b/src/main/resources/data/dimdoors/pockets/json/v2/default_public.json @@ -6,7 +6,7 @@ "id": "public_pocket", "pockets": [ { - "regex": "0", + "regex": "6", "pocket": { "virtual_type": "schematic", "id": "public_pocket_0", @@ -15,7 +15,7 @@ } }, { - "regex": "1", + "regex": "7", "pocket": { "virtual_type": "schematic", "id": "public_pocket_1", @@ -24,7 +24,7 @@ } }, { - "regex": "2", + "regex": "8", "pocket": { "virtual_type": "schematic", "id": "public_pocket_2", @@ -33,7 +33,7 @@ } }, { - "regex": "3", + "regex": "9", "pocket": { "virtual_type": "schematic", "id": "public_pocket_3", @@ -42,7 +42,7 @@ } }, { - "regex": "4", + "regex": "10", "pocket": { "virtual_type": "schematic", "id": "public_pocket_4", @@ -51,7 +51,7 @@ } }, { - "regex": "5", + "regex": "11", "pocket": { "virtual_type": "schematic", "id": "public_pocket_5", @@ -60,7 +60,7 @@ } }, { - "regex": "6", + "regex": "12", "pocket": { "virtual_type": "schematic", "id": "public_pocket_6",