GithubHelp home page GithubHelp logo

Comments (4)

Elijahlmao avatar Elijahlmao commented on September 25, 2024 1

on leftclick holding shears: if event-world is "MinerWorld": if player's gamemode is survival: cancel event remove 1 of player's tool from player's tool play sound "item.shield.break" to player message "&cYou slammed your shears into the ore, but it broke on impact."

image_2024-01-17_012905319

I downgraded my version to 2.7.3, but it happened on Skript 2.8.0 before I downgraded.

from skript.

DelayedGaming avatar DelayedGaming commented on September 25, 2024

It is still optional based on the 2.8.0 branch. Can you provide your affected code, the parse error and /sk info?
IMG_3067

from skript.

erenkarakal avatar erenkarakal commented on September 25, 2024

its a new change in 2.8, if there are multiple entities in an event it makes sure the user is sending it to the right person to avoid confusion, it is technically still optional but depends on the event. (and in my opinion its for the better)

from skript.

sovdeeth avatar sovdeeth commented on September 25, 2024
on leftclick holding shears: 
    if event-world is "MinerWorld": 
        if player's gamemode is survival: 
            cancel event 
            remove 1 of player's tool from player's tool 
            play sound "item.shield.break" to player 
            message "&cYou slammed your shears into the ore, but it broke on impact."

This error is intentional, because your code has a bug. If the player clicks on an entity while holding shears, the message will be sent to the clicked entity.

Closing for now, but if you have other opinions or suggestions, please feel free to comment. I'll re-open it if there's an issue we need to fix.

from skript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.