-
-
Notifications
You must be signed in to change notification settings - Fork 412
Description
Skript/Server Version
Server paper 1.21.5 skript version latest: 2.13.2Bug Description
Script:
on region enter:
if region is "water_barrier":
# Memorizza il mondo iniziale
set {initial.world.%player%} to world of player
# Esegui il comando di teletrasporto
make player execute command "/is home"
# Aspetta un tick per dare tempo al teletrasporto
wait 1 tick
# Controlla il mondo attuale
if world of player is {initial.world.%player%}:
send "&cNon hai un'isola! Creane una con /is create." to player
else:
send "&aHai oltrepassato la barriera! Teletrasportato alla tua isola" to player
# Pulisci la variabile
delete {initial.world.%player%}
Expected Behavior
The skript should tp the player to it's own island but it does not.
I've tried to make a debug say message as someone enters the ragion and it DOES work
Steps to Reproduce
I think this problem happend as soon as I updated to the last version
Errors or Screenshots
Latest logs of minecraft server
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! [Skript] Severe Error:
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! An unexpected error occurred with Skript. This issue is likely not your fault.
[17:13:07] [Server thread/ERROR]: #!#! Report the issue: https://github.com/SkriptLang/Skript/issues
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! Stack trace:
[17:13:07] [Server thread/ERROR]: #!#! Caused by: java.lang.NullPointerException: Cannot invoke "com.sk89q.worldguard.protection.managers.RegionManager.getRegion(String)" because the return value of "com.sk89q.worldguard.protection.regions.RegionContainer.get(com.sk89q.worldedit.world.World)" is null
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.WorldGuardHook.getRegion_i(WorldGuardHook.java:199)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.RegionsPlugin.getRegion(RegionsPlugin.java:94)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.classes.Region.parse(Region.java:89)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.classes.Region.lambda$static$0(Region.java:82)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//org.skriptlang.skript.lang.comparator.ConvertedComparator.compare(ConvertedComparator.java:49)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.conditions.CondCompare.lambda$check$1(CondCompare.java:331)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:156)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.VariableString.check(VariableString.java:664)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.conditions.CondCompare.lambda$check$2(CondCompare.java:329)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:156)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:144)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.conditions.CondCompare.check(CondCompare.java:328)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.Condition.evaluate(Condition.java:89)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.Condition.evaluate(Condition.java:26)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//org.skriptlang.skript.lang.condition.Conditional.evaluate(Conditional.java:45)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//org.skriptlang.skript.lang.condition.Conditional.evaluateAnd(Conditional.java:105)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//org.skriptlang.skript.lang.condition.CompoundConditional.evaluate(CompoundConditional.java:85)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//org.skriptlang.skript.lang.condition.CompoundConditional.evaluate(CompoundConditional.java:68)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.sections.SecConditional.checkConditions(SecConditional.java:417)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.sections.SecConditional.walk(SecConditional.java:306)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:67)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.lang.Trigger.execute(Trigger.java:33)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.events.EvtRegionBorder.callEvent(EvtRegionBorder.java:87)
[17:13:07] [Server thread/ERROR]: #!#! at Skript-2.13.2.jar//ch.njol.skript.hooks.regions.events.EvtRegionBorder$1.execute(EvtRegionBorder.java:76)
[17:13:07] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71)
[17:13:07] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[17:13:07] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:1464)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:1382)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.entity.CraftEntity.teleport(CraftEntity.java:272)
[17:13:07] [Server thread/ERROR]: #!#! at LobbySpawn-2.0.jar//nathan.vdc.lobbyspawn.LobbyPlugin.teleportToLobby(LobbyPlugin.java:81)
[17:13:07] [Server thread/ERROR]: #!#! at LobbySpawn-2.0.jar//nathan.vdc.lobbyspawn.LobbyListener.onPlayerJoin(LobbyListener.java:19)
[17:13:07] [Server thread/ERROR]: #!#! at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:71)
[17:13:07] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[17:13:07] [Server thread/ERROR]: #!#! at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
[17:13:07] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.players.PlayerList.placeNewPlayer(PlayerList.java:331)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.handleConfigurationFinished(ServerConfigurationPacketListenerImpl.java:163)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:22)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.handle(ServerboundFinishConfigurationPacket.java:8)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:29)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.TickTask.run(TickTask.java:18)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:155)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1446)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:175)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:129)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1426)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1420)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:118)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1559)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1249)
[17:13:07] [Server thread/ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:308)
[17:13:07] [Server thread/ERROR]: #!#! at java.base/java.lang.Thread.run(Unknown Source)
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! Skript: 2.13.2 (latest)
[17:13:07] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
[17:13:07] [Server thread/ERROR]: #!#! Date: 17:48:49.784252600
[17:13:07] [Server thread/ERROR]: #!#! Bukkit: 1.21.5-R0.1-SNAPSHOT
[17:13:07] [Server thread/ERROR]: #!#! Minecraft: 1.21.5
[17:13:07] [Server thread/ERROR]: #!#! Java: 21.0.8 (OpenJDK 64-Bit Server VM 21.0.8+9-LTS)
[17:13:07] [Server thread/ERROR]: #!#! OS: Linux amd64 6.8.12-16-pve
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! Server platform: Paper
[17:13:07] [Server thread/ERROR]: #!#!
[17:13:07] [Server thread/ERROR]: #!#! Current node: null
[17:13:07] [Server thread/ERROR]: #!#! Current item: if event-region is equal to "water_barrier" (comparator: ConvertedComparator{first=null,comparator=ComparatorInfo{first=class java.lang.Object,second=class java.lang.Object,comparator=org.skriptlang.skript.lang.comparator.Comparators$$Lambda/0x00007b6b3e2b0000@65cb1478},second=ConverterInfo{from=class java.lang.String,to=class ch.njol.skript.hooks.regions.classes.Region,converter=ch.njol.skript.hooks.regions.classes.Region$$Lambda/0x00007b6b3e7ba008@7c0794de,flags=0}})
[17:13:07] [Server thread/ERROR]: #!#! Current trigger: region enter (enter of a region) (water_barrier.sk, line 1)
[17:13:07] [Server thread/ERROR]: #!#! Thread: Server thread
[17:13:07] [Server thread/ERROR]: #!#! Language: english
[17:13:07] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
[17:13:07] [Server thread/ERROR]: #!#! End of Error.
[17:13:07] [Server thread/ERROR]: #!#!
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this report.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status