Jump to content
  • 0
Sign in to follow this  
axter

itempackethandler, player has to have # free slots

Question

i need it to where if player has ALREADY opened (clicked) on 19650, (toolkit) that it wont let them.

i tired || player.getInventory().getFreeSlots() !=28) {
}

but it gives me a error saying this
';' expected
----

(i know you can't put a semi colon anywhere, it wouldn't work)

is there any better way from preventing the player from opening this item 2 times? or can someone help me with
|| player.getInventory().getFreeSlots() !=28) {


thanks.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Sign in to follow this  

×