BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
334 stars 136 forks source link

SafeSpotTeleport error when enter the nether portal in Caveblock mode #1700

Closed andris155 closed 3 years ago

andris155 commented 3 years ago

Description

Describe the bug

SafeSpotTeleport error when enter the nether portal in Caveblock mode.

Steps to reproduce the behavior

  1. Build a nether portal in Caveblock mode.
  2. Go to the nether.
  3. Try go back to the normal world.
  4. Error

Expected behavior

No error and nether portal works perfectly.

Environment

Output of /bbox version (Mandatory)
[13:38:26 INFO]: Fut Helytelen (TUINITY) 1.16.5.
[13:38:26 INFO]: BentoBox verzió: 1.16.0-SNAPSHOT-b1999
[13:38:26 INFO]: Adatbázis: JSON
[13:38:26 INFO]: Betöltött játékvilágok:
[13:38:26 INFO]: bskyblock_world (BSkyBlock): Overworld, Nether, The End
[13:38:26 INFO]: caveblock-world (CaveBlock): Overworld, Nether, The End
[13:38:26 INFO]: oneblock_world (OneBlock): Overworld
[13:38:26 INFO]: Betöltött kiegészítők:
[13:38:26 INFO]: AOneBlock 1.5.0-SNAPSHOT-b147 (ENABLED)
[13:38:26 INFO]: Biomes 1.14.1-SNAPSHOT-b203 (ENABLED)
[13:38:26 INFO]: BSkyBlock 1.14.3 (ENABLED)
[13:38:26 INFO]: CaveBlock 1.14.3-SNAPSHOT-b374 (ENABLED)
[13:38:26 INFO]: Challenges 0.8.4-SNAPSHOT-b438 (ENABLED)
[13:38:26 INFO]: Chat 1.1.2-SNAPSHOT-b42 (ENABLED)
[13:38:26 INFO]: ControlPanel 1.13.0-SNAPSHOT-b45 (ENABLED)
[13:38:26 INFO]: DimensionalTrees 1.6.1-SNAPSHOT-b82 (ENABLED)
[13:38:26 INFO]: Greenhouses 1.5.1-SNAPSHOT-b289 (ENABLED)
[13:38:26 INFO]: Level 2.6.1-SNAPSHOT-b443 (ENABLED)
[13:38:26 INFO]: Warps 1.11.0-SNAPSHOT-b281 (ENABLED)

Plugins (Optional)

Plugins (67): Admin-Chat, antiRedstoneClock, ArmorStandEditor, AutoMessage, BeautyQuests, BeehivesPro, BentoBox, BetterGUI, BookShelf, ChatControlRed, ChatReaction, ChestShop, ChestSort, Citizens, CommandHook, CompatNoCheatPlus, ConditionalCommands, CoreProtect, CraftBook, CratesPlus, CreativeNbtControl, CustomCrafting, Duels, Essentials, EssentialsChat, EssentialsProtect, EssentialsSpawn, F3NPerm, FancyBags, FarmLimiter, FastAsyncWorldEdit (WorldEdit), GoldenChallenges, GoldenEnchants, HeadDatabase, HolographicDisplays, InvisibleItemFrames, LockettePro, LuckPerms, mcMMO, MobFarmManager, Multiverse-Core, Multiverse-NetherPortals, MyCommand, MyPet, NexEngine, NoCheatPlus, OpenInv, PerWorldInventory, PlaceholderAPI, PlugMan, PocketGames, PotionArmors, ProtocolLib, Shopkeepers, SkinsRestorer, sleep-most, StaffChat, StaffTime, SuperLuckyBlock, TAB, Vault, Votifier, VotingPlugin, WolfyUtilities, WorldGuard, WorldGuardExtraFlags, WorldGuardPomaFlags

Additional context (Optional)

[20:45:22] [Server thread/WARN]: [BentoBox] Task #483758 for BentoBox v1.16.0-SNAPSHOT-b1999 generated an exception
java.lang.NullPointerException: null
    at world.bentobox.bentobox.util.teleport.SafeSpotTeleport.lambda$teleportEntity$9(SafeSpotTeleport.java:246) ~[?:?]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1356) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1269) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1001) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at java.lang.Thread.run(Unknown Source) [?:?]
[20:45:22] [Server thread/WARN]: [BentoBox] Task #483761 for BentoBox v1.16.0-SNAPSHOT-b1999 generated an exception
java.lang.NullPointerException: null
    at world.bentobox.bentobox.util.teleport.SafeSpotTeleport.lambda$teleportEntity$9(SafeSpotTeleport.java:246) ~[?:?]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1356) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:378) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1269) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1001) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:175) ~[patched_1.16.5.jar:git-Tuinity-"7734ef0"]
    at java.lang.Thread.run(Unknown Source) [?:?]
tastybento commented 3 years ago

This bug was fixed already. Please update to the release version of BentoBox 1.16.0, or later.