Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Something went wrong while trying to teleport you, please report this bug. #449

Open
NthPortal opened this issue Nov 16, 2024 · 0 comments
Assignees
Labels

Comments

@NthPortal
Copy link

NthPortal commented Nov 16, 2024

What happened?

Tried to go through an iron door in pocket dungeons dimension and got the following error. Trying it a second time worked fine

Mod Version

5.4.1 (Fabric) from Modrinth

What versions of Minecraft does this issue happen on?

1.20.1

Log

Teleporting failed with the following exception: 
java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
	at org.dimdev.dimdoors.util.schematic.RelativeBlockSample.<init>(RelativeBlockSample.java:80) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.util.schematic.Schematic.getBlockSample(Schematic.java:155) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.util.schematic.SchematicPlacer.getAbsoluteRifts(SchematicPlacer.java:45) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.PocketTemplate.getAbsoluteRifts(PocketTemplate.java:74) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.generator.SchematicGenerator.prepareAndPlacePocket(SchematicGenerator.java:149) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.virtual.reference.PocketGeneratorReference.prepareAndPlacePocket(PocketGeneratorReference.java:157) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generatePocketV2(PocketGenerator.java:59) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generateFromPocketGroupV2(PocketGenerator.java:49) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.pockets.PocketGenerator.generateDungeonPocketV2(PocketGenerator.java:63) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.rift.targets.RandomTarget.generatePocket(RandomTarget.java:192) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.rift.targets.RandomTarget.receiveOther(RandomTarget.java:173) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.api.rift.target.Target.as(Target.java:16) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.block.entity.RiftBlockEntity.teleport(RiftBlockEntity.java:210) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.block.entity.EntranceRiftBlockEntity.innerTeleport(EntranceRiftBlockEntity.java:89) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.block.entity.EntranceRiftBlockEntity.teleport(EntranceRiftBlockEntity.java:85) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.block.door.DimensionalDoorBlock.onCollision(DimensionalDoorBlock.java:127) ~[dimdoors-5.4.1-fabric.jar:?]
	at org.dimdev.dimdoors.block.door.DimensionalDoorBlock.onAfterMovePlayerCollision(DimensionalDoorBlock.java:71) ~[dimdoors-5.4.1-fabric.jar:?]
	at net.minecraft.class_3244.handler$dkg000$dimdoors$checkBlockCollision(class_3244.java:4483) ~[client-intermediary.jar:?]
	at net.minecraft.class_3244.method_12063(class_3244.java:1015) ~[client-intermediary.jar:?]
	at net.minecraft.class_2828.method_12272(class_2828.java:114) ~[client-intermediary.jar:?]
	at net.minecraft.class_2828$class_2830.method_11054(class_2828.java:16) ~[client-intermediary.jar:?]
	at net.minecraft.class_2600.method_11072(class_2600.java:22) ~[client-intermediary.jar:?]
	at net.minecraft.class_3738.run(class_3738.java:18) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_18859(class_1255.java:156) ~[client-intermediary.jar:?]
	at net.minecraft.class_4093.method_18859(class_4093.java:23) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_24306(MinecraftServer.java:782) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_18859(MinecraftServer.java:164) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_16075(class_1255.java:130) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_20415(MinecraftServer.java:764) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_16075(MinecraftServer.java:758) ~[client-intermediary.jar:?]
	at net.minecraft.class_1255.method_5383(class_1255.java:115) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_16208(MinecraftServer.java:742) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:675) ~[client-intermediary.jar:?]
	at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[client-intermediary.jar:?]
	at java.lang.Thread.run(Unknown Source) ~[?:?]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants