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

Standard spawn explosions cause error #2469

Open
tastybento opened this issue Aug 17, 2024 · 0 comments
Open

Standard spawn explosions cause error #2469

tastybento opened this issue Aug 17, 2024 · 0 comments
Assignees
Labels
Status: Under investigation Investigating the interest and the feasability of the issue. Type: Bug

Comments

@tastybento
Copy link
Member

Expected behavior

No error when explosion happens in a standard spawn

Observed/Actual behavior

QQ_1723741911769

[17:02:51 ERROR] :
Could not pass
event EntityExplodeEvent to BentoBox v2.5.0
java. lang. NullPointerException: Attempt to get WorldSettings for non-game world oneblock_world_ the_end
at java.base/java.util.Objects.requireNonNull(Objects.java:246) ~[?:?]
at BentoBox-2.5.0.jar/world.bentobox.bentobox.managers.IslandWorldManager.getWorldSettings(IslandWorldManager.java:245) ~[BentoBox-2.5.0. jar: ?]
at BentoBox-2.5.0.jar/world.bentobox.bentobox. listeners.StandardSpawnProtectionListener.atspawn (StandardSpawnProtectionListener. java:111) ~[BentoBox-2.5.0.ja
r: ?1
at BentoBox-2.5.0.jar/world.bentobox.bentobox.listeners.StandardSpawnProtectionListener.lambda$onExplosion$ (StandardSpawnProtectionListener. java: 84) ~ [Bento
Box-2.5.0. jar: ?]
at java.base/java.util.ArrayList.removelf(ArrayList.java:1756) ~[?:?]
at java.base/java.util.ArrayList. removelf(ArrayList.java:1744) ~[?:?]
at BentoBox-2.5.0.jar/world.bentobox.bentobox. listeners.StandardSpawnProtectionListener.onExplosion(StandardSpawnProtectionListener.java:84) ~ [BentoBox-2.5.0
Jar:?] at com.destroystokyo.paper.event.executor. asm.generated.GeneratedEventExecutor444.execute (Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute (EventExecutor.java:77) ~ Ipaper-mojangapi-1.21-R0.1-SNAPSHOT. jar: ?]
at
org.bukkit.plugin.RegisteredListener.callEvent (RegisteredListener.java:72) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT.jar: ?]
at
10.paperme.paper.plugin.manager.PaperEventManager.callEvent (PaperEventManager.java:60) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at 10.paperme.paper.plugin.manager.PaperPluginManagerImpl. callEvent (PaperPluginManagerImpl.java:131) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at
at
org.bukkit.plugin.SimplePluginManager.callEvent (SimplePluginManager.java:629) ~[paper-mojangapi-1.21-R0.1-SNAPSHOT. jar: ?]
org.bukkit.craftbukkit.event.CraftEventFactory.callEntityExplodeEvent (CraftEventFactory.java:2116) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at
at net.minecraft.world.entity.boss.enderdragon.EnderDragon. checkWalls(EnderDragon.java:649) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
net.minecraft.world.entity.boss.enderdragon.EnderDragon.aiStep(EnderDragon.java:487) ~[leaf-1.21.jar: 1.21-DEV-ee6983a]
at
net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3301) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at
net.minecraft.world.entity.Mob. tick (Mob.java:474) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at net.minecraft. server.level.ServerLevel. tickNonPassenger (ServerLevel.java:1276) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at net.minecraft.server.level.ServerLevel.lambda$tick$5 (ServerLevel.java:734) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at net.minecraft.world.level.entity.EntityTickList.forEach(EntityIickList.java:39) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at net.minecraft.server.level.ServerLevel. tick (ServerLevel.java:714) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1809) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:525) ~[leaf-1.21.jar:1.21-DEV-ee6983a] at net.minecraft.server.MinecraftServer.tickServer (MinecraftServer.java:1615) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1318) ~[leaf-1.21.jar:1.21-DEV-ee6983a]
at net.minecraft.server.MinecraftServer.lambda$spin$0 (MinecraftServer.java:320) ~[leaf-1.21.jar:1.21-DEV-ee6983a]

Steps/models to reproduce

Have spawn protection enabled for the standard spawn in the End. Cause an explosion.

BentoBox version

2.5.0

Plugin list

No response

Other

Raised by YYY on discord.

@tastybento tastybento self-assigned this Aug 17, 2024
@tastybento tastybento added the Status: Under investigation Investigating the interest and the feasability of the issue. label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Under investigation Investigating the interest and the feasability of the issue. Type: Bug
Projects
None yet
Development

No branches or pull requests

1 participant