on block break:
loop all players:
loop all items in loop-player's inventory:
if loop-item's name is "&6&lCOBBLESTONE AUTO CRAFTER":
if amount of cobblestone named "" in loop-player's inventory is greater than 9:
remove 9 cobblestone named "" from loop-player's inventory
So as you can see in this skript, it is supposed to remove 9 cobblestone from player's inventory. The issue is that it also removes other cobblestones that have different names. If I use color codes such as &f, &r, &e, etc, none of those removes ordinary cobblestones.
Question
duhnoob1010
on block break:
loop all players:
loop all items in loop-player's inventory:
if loop-item's name is "&6&lCOBBLESTONE AUTO CRAFTER":
if amount of cobblestone named "" in loop-player's inventory is greater than 9:
remove 9 cobblestone named "" from loop-player's inventory
So as you can see in this skript, it is supposed to remove 9 cobblestone from player's inventory. The issue is that it also removes other cobblestones that have different names. If I use color codes such as &f, &r, &e, etc, none of those removes ordinary cobblestones.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now