Hey, is this an error or do i just not get it?
I cant do anything after the set the view distance line....is that normal or am i missing something?
code_language.skript:
on script load:
import "org.bukkit.entity.Player"
command /viewdistance <int>:
permission: yt
trigger:
set {_s} to player.getViewDistance()
send "%{_s}%"
player.setViewDistance(arg-1)
wait 1 tick
send "&b[&dINFO&b] &eView distance set to %{_s}% Blocks" to player #this line wont happen, aswell as anything else i tried after setviewdistance
Sorry if its something obvious, i never really worked with java itself