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

Player creates Nether portal and it changes his gamemode to Adventure - Error on console #365

Closed
akoldfart opened this issue Dec 7, 2018 · 1 comment
Assignees
Milestone

Comments

@akoldfart
Copy link

akoldfart commented Dec 7, 2018

Description
I have server where SkyBlock and AcidIsland are created without Nether worlds. I have one portal at the spawn that takes player to "normal" world Nether. It works without issues. However, if player creates portal on his island and uses it, server thow "null" and player's gamemode changes to Adventure and can fly thru walls and such..

Steps to reproduce the behavior:

  1. Chreate Island and build nether portal
  2. Activate portal '
  3. Enter in and you don't get transferred because there is no Nether to go
  4. Now your gamemode has changed

Expected behavior
I was hoping portal just not doing anything because there is no Nether to go from island

Screenshots
If applicable, add screenshots to help explain your problem.

Server Information:

[Please complete the following information:]

  • Database being used Flat file
  • OS: Windows 7
  • Java Version: [e.g. Java 8]
  • BentoBox version: 0.15.1 (problem also present in 1.14.0)
  • Addons installed?
    [00:54:28] [Server thread/INFO]: [Bentobox version: _[0.15.1
    [00:54:28] [Server thread/INFO]: Loaded Game Worlds:
    [00:54:28] [Server thread/INFO]: [AcidIsland_world _[(AcidIsland)]
    [00:54:28] [Server thread/INFO]: [BSkyBlock_world _[(BSkyBlock)]
    [00:54:28] [Server thread/INFO]: Loaded Add-Ons]
    [00:54:28] [Server thread/INFO]: [AcidIsland _[0.4.1-SNAPSHOT]
    [00:54:28] [Server thread/INFO]: [BSkyBlock _[0.5.0-SNAPSHOT]
    [00:54:28] [Server thread/INFO]: [BentoBox-Challenges _[0.0.3-SNAPSHOT]
    [00:54:28] [Server thread/INFO]: [Level _[0.1.0-SNAPSHOT]
    [00:54:28] [Server thread/INFO]: [WelcomeWarps _[0.1.0-SNAPSHOT]
    [Do '/bentobox version' and copy/paste from the console]
  • Other plugins? [Do '/plugins' and copy/paste from the console]
    Plugins (19): [CoreProtect[0;37;1m, [WorldEdit[0;37;1m, [WorldBorder[0;37;1m, [Vault[0;37;1m, [0;32;1mEasyBackup[0;37;1m, [0;32;1mHideStream[0;37;1m, [Votifier[0;37;1m, [Permissions[0;37;1m, [0;32;1mProtocolLib[0;37;1m, [0;32;1mWorldGuard[0;37;1m, [FreeBungeeChat[0;37;1m, [0;32;1mBentoBox[0;37;1m, [0;32;1mEssentials[0;37;1m, [EssentialsChat[0;37;1m, [0;32;1mAdvancedModreq[0;37;1m, [PromotionEssentials[0;37;1m, [SimpleVoteListener[0;37;1m, [0;32;1mEssentialsSpawn[0;37;1m, [0;32;1mMultiverse-Core[m
    Additional context
    Error seen on console:
[14:12:09] [Server thread/ERROR]: Could not pass event PlayerPortalEvent to BentoBox v0.14.1
org.bukkit.event.EventException: null
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.PlayerList.changeDimension(PlayerList.java:759) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.EntityPlayer.a(EntityPlayer.java:664) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.Entity.postTick(Entity.java:359) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.World.entityJoinedWorld(World.java:1381) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.World.g(World.java:1347) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.WorldServer.p_(WorldServer.java:624) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.World.tickEntities(World.java:1149) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.WorldServer.tickEntities(WorldServer.java:601) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:972) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_192]
Caused by: java.lang.NullPointerException
	at org.bukkit.Location.getBlock(Location.java:91) ~[spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	at world.bentobox.bentobox.managers.IslandsManager.isSafeLocation(IslandsManager.java:169) ~[?:?]
	at world.bentobox.bentobox.util.teleport.SafeSpotTeleport.<init>(SafeSpotTeleport.java:73) ~[?:?]
	at world.bentobox.bentobox.util.teleport.SafeSpotTeleport$Builder.build(SafeSpotTeleport.java:416) ~[?:?]
	at world.bentobox.bentobox.listeners.NetherPortals.onNetherPortal(NetherPortals.java:237) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_192]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_192]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_192]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_192]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2-R0.1-SNAPSHOT.jar:git-Spigot-a1f2566-97b0057]
	... 16 more
@Poslovitch Poslovitch transferred this issue from BentoBoxWorld/BSkyBlock Dec 7, 2018
@tastybento tastybento added Type: Bug Status: Under investigation Investigating the interest and the feasability of the issue. labels Dec 9, 2018
@tastybento tastybento self-assigned this Dec 9, 2018
@tastybento
Copy link
Member

Thanks for the report!

@Poslovitch Poslovitch removed the Status: Under investigation Investigating the interest and the feasability of the issue. label Dec 9, 2018
@Poslovitch Poslovitch added this to the Alpha 11 milestone Dec 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants