Just copy and change the code of untradeable items but then make it with tradeable items.
|
how do i make it so u can only stake certain items?
i've tried so far
if (itemID == idhere)
return true;
any suggestions?
Just copy and change the code of untradeable items but then make it with tradeable items.
Code:private static final int[] UNSTAKEABLES = { {4151}, {11697} }; private static boolean isStakeable(int id) { for (int i : UNSTAKEABLES) { if (id == i) { return false; } } return true; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |