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

fall distance ERROR (Skellett) #351

Closed
loadka95 opened this issue Jan 20, 2017 · 1 comment
Closed

fall distance ERROR (Skellett) #351

loadka95 opened this issue Jan 20, 2017 · 1 comment

Comments

@loadka95
Copy link

loadka95 commented Jan 20, 2017

Minecraft Version: 1.11.2
Skript version: Latest

Code:

every tick in "world":
	loop {sping::*}:
		if fall distance of loop-value is 10:
			teleport loop-value to {splegg.lobby}
			message "{@splegg}Lost." to loop-value
			subtract loop-value from {splegg::*}

Console:
[14:57:49 ERROR]: #!#! [Skript] Severe Error:
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[14:57:49 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[14:57:49 ERROR]: #!#! and check whether this error has already been reported.
[14:57:49 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
[14:57:49 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[14:57:49 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[14:57:49 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! Stack trace:
[14:57:49 ERROR]: #!#! java.lang.NullPointerException
[14:57:49 ERROR]: #!#! at com.gmail.thelimeglass.Expressions.ExprFallDistance.get(ExprFallDistance.java:47)
[14:57:49 ERROR]: #!#! at com.gmail.thelimeglass.Expressions.ExprFallDistance.get(ExprFallDistance.java:1)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:164)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.util.SimpleExpression.check(SimpleExpression.java:159)
[14:57:49 ERROR]: #!#! at ch.njol.skript.conditions.CondCompare.check(CondCompare.java:260)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.Condition.run(Condition.java:58)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.Conditional.walk(Conditional.java:53)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
[14:57:49 ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
[14:57:49 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical.execute(EvtPeriodical.java:92)
[14:57:49 ERROR]: #!#! at ch.njol.skript.events.EvtPeriodical$2.run(EvtPeriodical.java:116)
[14:57:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
[14:57:49 ERROR]: #!#! at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
[14:57:49 ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
[14:57:49 ERROR]: #!#! at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
[14:57:49 ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
[14:57:49 ERROR]: #!#! at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
[14:57:49 ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! Version Information:
[14:57:49 ERROR]: #!#! Skript: 2.2-dev23
[14:57:49 ERROR]: #!#! Bukkit: 1.11.2-R0.1-SNAPSHOT
[14:57:49 ERROR]: #!#! Minecraft: 1.11.2
[14:57:49 ERROR]: #!#! Java: 1.8.0_112 (Java HotSpot(TM) 64-Bit Server VM 25.112-b15)
[14:57:49 ERROR]: #!#! OS: Windows 10 amd64 10.0
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! Running CraftBukkit: false
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! Current node: null
[14:57:49 ERROR]: #!#! Current item: [the] fall distance (from|of) %entity% is equal to [[long:10]] (comparator: ch.njol.skript.classes.data.DefaultComparators$1@49ec3cce)
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! Thread: Server thread
[14:57:49 ERROR]: #!#!
[14:57:49 ERROR]: #!#! End of Error.

@loadka95 loadka95 changed the title error with fall distance (Skellett) fall distance ERRRO (Skellett) Jan 20, 2017
@loadka95 loadka95 changed the title fall distance ERRRO (Skellett) fall distance ERROR (Skellett) Jan 20, 2017
@TrademarkTM
Copy link

This error is from Skellett. So why the fuck are you reporting this here?

Also, your code is really bad and will most likely lag as hell if your variable is big.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants