if (c.getItems().getItemName(command.substring(5)).co ntains("primal"))
return;
|
This is what I'm trying to do, I'm making my server into spawn but I don't feel like going through every item adding them into a restricted array. I'd like to make it like if you type a word say "Primal" anything with the words primal in it on the item list can't be spawned.
Does anyone have any hints for me as to how I would do this? Will rep ;D
if (c.getItems().getItemName(command.substring(5)).co ntains("primal"))
return;
Omg, Harlan. I wub you.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |