Comments (7)
found a bug, when in the overworld and not in the bskyblock world, and trying to disable a flag is /is settings or modify one this happens
[11:17:01 ERROR]: Could not pass event InventoryClickEvent to BentoBox v2.1.1
java.lang.UnsupportedOperationException: null
at java.util.AbstractList.add(AbstractList.java:153) ~[?:?]
at java.util.AbstractList.add(AbstractList.java:111) ~[?:?]
at world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.leftShiftClick(CycleClick.java:154) ~[BentoBox-2.1.1.jar:?]
at world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.lambda$onClick$0(CycleClick.java:94) ~[BentoBox-2.1.1.jar:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at world.bentobox.bentobox.api.flags.clicklisteners.CycleClick.onClick(CycleClick.java:84) ~[BentoBox-2.1.1.jar:?]
at world.bentobox.bentobox.listeners.PanelListenerManager.lambda$onInventoryClick$0(PanelListenerManager.java:56) ~[BentoBox-2.1.1.jar:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at world.bentobox.bentobox.listeners.PanelListenerManager.onInventoryClick(PanelListenerManager.java:54) ~[BentoBox-2.1.1.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor789.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:git-Purpur-2148]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[purpur-1.20.4.jar:git-Purpur-2148]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[purpur-1.20.4.jar:git-Purpur-2148]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:617) ~[purpur-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleContainerClick(ServerGamePacketListenerImpl.java:3176) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:58) ~[?:?]
at net.minecraft.network.protocol.game.ServerboundContainerClickPacket.handle(ServerboundContainerClickPacket.java:23) ~[?:?]
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:54) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1488) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1465) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1388) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1366) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1255) ~[purpur-1.20.4.jar:git-Purpur-2148]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[purpur-1.20.4.jar:git-Purpur-2148]
at java.lang.Thread.run(Thread.java:840) ~[?:?]
from bentobox.
Hmm, I can' replicate this yet.
What you can do is use the bsb why <player_name>
command to turn on logging of protection. It'll tell you why the player can do something or not. e.g. this is what I get:
[02:35:57] [Server thread/INFO]: BoxManager issued server command: /bsb why tastybentotoo
[02:36:22] [Server thread/INFO]: [BentoBox] Why: PlayerPortalEvent in world bskyblock_world at 810,85,792
[02:36:22] [Server thread/INFO]: [BentoBox] Why: tastybentotoo NETHER_PORTAL - NOT_ALLOWED_ON_ISLAND
from bentobox.
hmm, strange
i get no console report when trying to teleport via nether portal in the player island
i must specify that overworld nether is disabled in the server config files, so this must be the issue?
from bentobox.
If you get not report, then the event is not being fired and that's why it cannot be trapped and stopped.
Can you share any config regarding the nether? What did you do specifically to disable the nether in the other world? I'll try and copy that and see if I can replicate the same thing.
from bentobox.
in the server.properties
allow-nether=false
from bentobox.
Yes, that's the issue. Unfortunately, if nether is switched off, then Bukkit doesn't fire an event for th nether portal, but the nether world does exist in the BSkyBlock world so the server teleports you there. I don't see a way around this unfortunately.
from bentobox.
i see, so there's no fixing in this
from bentobox.
Related Issues (20)
- MYSQL Error HOT 1
- Blueprint has JSON error HOT 3
- PAPI Placeholder List of Trustees HOT 2
- Could not load file 'database\Players\uuid-redacted.json': File not found. HOT 5
- The farmland has never been wet [耕地一直不被打湿,农作物不增长] HOT 2
- null placeholders manager error HOT 1
- Mysterious exception HOT 7
- broken panels <=1.20.4 HOT 3
- Banners not parsed correctly in Spigot 1.21 HOT 6
- make IslandRankChangeEvent cancellable HOT 2
- Island creation changes the home location of previous
- If a player enters the server with a Chinese game name and appears on the leaderboard, an error will occur HOT 8
- Standard spawn explosions cause error
- players can join 2 teams even tho islands are limit to 1 per player HOT 3
- Panel force_shown does not work HOT 1
- Expand crops to include other produce
- It can be set whether the wandering trader can be interacted with by all players, even if it is not on his island. HOT 1
- Island spawn does not stay set after a reboot
- /is team invite - bug HOT 3
- Placeholder:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bentobox.