Jump to content

[SOLVED] Generator Help.


CollinUpp

Recommended Posts

Hey, im sorry I wanted to make a gen server bc I was bored and I ran into an issue the issue is when you place a block with a name it placed but it doesn't do anything but it doesn't give any errors 

 

on place of coarse dirt:
    set {_a} to item amount of player's held item
    set {_p} to player
    set {_u} to player's uuid
    if {gc::%{_u}%} >= {gencap::%{_u}%}: 
    wait 2 ticks
    if player's held item is {_a} of {@dirtgen}:
        add location of event-block to {gens::%{_u}%::dirt::*}
        add 1 to {gc::%{_u}%}
        send "&a&lGENERATOR &7» &6&lDirt &6Gen &fplaced %{gc::%{_u}%}%/%{gencap::%{_u}%}%" to player

Edited by CollinUpp
Link to comment
Share on other sites

  • CollinUpp changed the title to [SOLVED] Generator Help.

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...