Jump to content

"an entity cannot be saved"


doxifieq

Recommended Posts

on damage:
    attacker is a player
    victim is a player
    set damage to 0

    set {attacker::%uuid of victim%} to attacker

on death:
    if {attacker::%uuid of player%} is set:
        broadcast "{@logo} &b%player% &7was knocked into the void by &b%{attacker::%uuid of player%}%"
        delete {attacker::%uuid of player%}
    else:
        broadcast "{@logo} &b%player% &7died"
        delete {attacker::%uuid of player%}

the script above works perfectly fine, however i'm greeted with this message upon reloading the script.

is there a way to prevent this?

image.png

Link to comment
Share on other sites

  • 2 weeks later...

It’s just a warning. Your code should still work fine. I wouldn’t disable it because sometimes warning can help you know why something doesn’t work. 

Owner of oldgaffle.minehut.gg. (my paintball server)

Owner of karted.minehut.gg. (my mario kart server)

Advocate of individual freedom, especially freedom of speech.

Cooler than Stalemate128.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...