-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Area: Lusk (Skript)Takes place in the 'skript' module. More specifically in the skript implementation.Takes place in the 'skript' module. More specifically in the skript implementation.Priority: MediumShould be addressed decently soon,Should be addressed decently soon,Status: PlannedPlanned for implementation. Not waiting on other features or changes to be implemented.Planned for implementation. Not waiting on other features or changes to be implemented.Type: BugSomething isn't workingSomething isn't working
Description
Describe the bug
EffBlockWaterlog accepts blocks but calls getSingle, resulting in an exception.
To Reproduce
Attempt to waterlog 2 blocks
Expected behavior
both blocks to be waterlogged
Screenshots
If applicable, add screenshots to help explain your problem.
/sk info:
[01:03:40 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[01:03:40 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[01:03:40 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[01:03:40 INFO]: [Skript] Server Version: 1.21.10-DEV-080a72f (MC: 1.21.10)
[01:03:40 INFO]: [Skript] Skript Version: 2.13.1 (skriptlang-github)
[01:03:40 INFO]: [Skript] Installed Skript Addons:
[01:03:40 INFO]: [Skript] - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[01:03:40 INFO]: [Skript] - Lusk v1.3.11 (https://github.com/JakeGBLP/Lusk)
[01:03:40 INFO]: [Skript] - SkBee v3.13.3 (https://github.com/ShaneBeee/SkBee)
[01:03:40 INFO]: [Skript] - oopsk v1.0-beta2 (https://github.com/sovdeeth/oopsk)
[01:03:40 INFO]: [Skript] Installed dependencies: None
Additional context
Lusk/src/main/java/it/jakegblp/lusk/elements/minecraft/blocks/block/effects/EffBlockWaterLog.java
Line 47 in 54b56ef
| new BlockWrapper(blockExpression.getSingle(event), true).setWaterLogged(waterlog); |
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! [Skript] Severe Error:
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! An unexpected error occurred with Skript. This issue is likely not your fault.
[01:02:48 ERROR]: #!#! You are using some plugins that alter how Skript works (addons).
[01:02:48 ERROR]: #!#! Full list of addons:
[01:02:48 ERROR]: #!#! SkBee v3.13.3 (https://github.com/ShaneBeee/SkBee)
[01:02:48 ERROR]: #!#! skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[01:02:48 ERROR]: #!#! oopsk v1.0-beta2 (https://github.com/sovdeeth/oopsk)
[01:02:48 ERROR]: #!#! Lusk v1.3.11 (https://github.com/JakeGBLP/Lusk)
[01:02:48 ERROR]: #!#! We could not identify related addons, it might also be a Skript issue.
[01:02:48 ERROR]: #!#! Try temporarily removing the listed plugins one by one to identify the cause.
[01:02:48 ERROR]: #!#! If removing a plugin resolves the issue, please report the problem to the plugin developer.
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! Stack trace:
[01:02:48 ERROR]: #!#! Caused by: java.lang.UnsupportedOperationException
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.lang.ExpressionList.getSingle(ExpressionList.java:73)
[01:02:48 ERROR]: #!#! at Lusk-1.3.11.jar//it.jakegblp.lusk.elements.minecraft.blocks.block.effects.EffBlockWaterLog.execute(EffBlockWaterLog.java:47)
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.lang.Effect.run(Effect.java:42)
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:40)
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:67)
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:191)
[01:02:48 ERROR]: #!#! at Skript-2.13.1.jar//ch.njol.skript.command.Commands$2.lambda$onPlayerChat$0(Commands.java:290)
[01:02:48 ERROR]: #!#! at org.bukkit.craftbukkit.scheduler.CraftFuture.run(CraftFuture.java:88)
[01:02:48 ERROR]: #!#! at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474)
[01:02:48 ERROR]: #!#! at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1610)
[01:02:48 ERROR]: #!#! at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1506)
[01:02:48 ERROR]: #!#! at net.minecraft.server.dedicated.DedicatedServer.tickServer(DedicatedServer.java:430)
[01:02:48 ERROR]: #!#! at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1234)
[01:02:48 ERROR]: #!#! at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:382)
[01:02:48 ERROR]: #!#! at java.base/java.lang.Thread.run(Thread.java:1583)
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! Skript: 2.13.1 (latest)
[01:02:48 ERROR]: #!#! Flavor: skriptlang-github
[01:02:48 ERROR]: #!#! Date: 20:23:36.669446
[01:02:48 ERROR]: #!#! Bukkit: 1.21.10-R0.1-SNAPSHOT
[01:02:48 ERROR]: #!#! Minecraft: 1.21.10
[01:02:48 ERROR]: #!#! Java: 21.0.3 (Java HotSpot(TM) 64-Bit Server VM 21.0.3+7-LTS-152)
[01:02:48 ERROR]: #!#! OS: Windows 10 amd64 10.0
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! Server platform: Paper
[01:02:48 ERROR]: #!#!
[01:02:48 ERROR]: #!#! Current node: null
[01:02:48 ERROR]: #!#! Current item: make (the target block of event-living entity and the block (above (the target block of event-living entity >> ch.njol.skript.lang.util.ConvertedExpression$$Lambda/0x0000000101a411a8@2ae60b49: ConverterInfo{from=interface org.bukkit.block.Block,to=class org.bukkit.Location,converter=ch.njol.skript.classes.data.DefaultConverters$$Lambda/0x00000001013b12c0@2151b51e,flags=8}) >> ch.njol.skript.expressions.ExprBlock$$Lambda/0x00000001020dc220@1b406992: ConverterInfo{from=class org.bukkit.Location,to=interface org.bukkit.block.Block,converter=ch.njol.skript.expressions.ExprBlock$$Lambda/0x00000001020dc220@1b406992,flags=0}))[interface org.bukkit.block.Block] waterlogged
[01:02:48 ERROR]: #!#! Thread: Server thread
[01:02:48 ERROR]: #!#! Language: english
[01:02:48 ERROR]: #!#! Link parse mode: DISABLED
[01:02:48 ERROR]: #!#! End of Error.
[01:02:48 ERROR]: #!#!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: Lusk (Skript)Takes place in the 'skript' module. More specifically in the skript implementation.Takes place in the 'skript' module. More specifically in the skript implementation.Priority: MediumShould be addressed decently soon,Should be addressed decently soon,Status: PlannedPlanned for implementation. Not waiting on other features or changes to be implemented.Planned for implementation. Not waiting on other features or changes to be implemented.Type: BugSomething isn't workingSomething isn't working
Projects
Status
Accepted