Solved Tree problem

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

gangula

Member
Jul 28, 2021
16
0
1
22
Russia
Script Version: 2.6.1
Script Author: Bensku
Minecraft Version: 1.12.2

Full Code:
Code:
on join:
    if {log.%player%} is not set:
        set {log.%player%} to 0

on place of jungle log:
    if {log.%player%} <= 6:
        add 1 to {log.%player%}
    if {log.%player%} = 7:
        cancel event

Description:
Hello. I made this script and ran into one very unpleasant problem. When I put the log flat, the script works, but as soon as I put the log diagonally, the script stops working.

Video: click to view
 
im pretty sure skript 2.6.1 doesnt support minecraft 1.12.2, either roll back to skript 2.6 or switch to a more recent mc version

also use else if

also use lists
Code:
{log::%player%}
decreases server lag
 
im pretty sure skript 2.6.1 doesnt support minecraft 1.12.2, either roll back to skript 2.6 or switch to a more recent mc version

also use else if

also use lists
Code:
{log::%player%}
decreases server lag

Thank you, the transition to Skript 2.6 helped
 
Status
Not open for further replies.