Turkmenas Posted October 11, 2016 Posted October 11, 2016 (edited) When i'm trying to bet, i got that: This is Code: P.S. changed Item ID in 4 position. So, wtf? Edited October 11, 2016 by Turkmenas
Turkmenas Posted October 11, 2016 Posted October 11, 2016 Boah how it looks like decompiled code builded successfully.
Turkmenas Posted October 11, 2016 Posted October 11, 2016 I mean this. :D i'm also fixed that. :) Just needed to change that: from: if (this._player.getInventory().getInventoryItemCount(1681, 1) >= this._ammount) to: if (this._player.getInventory().getInventoryItemCount(1681, 0) >= this._ammount)
Reborn12 Posted October 11, 2016 Posted October 11, 2016 i'm also fixed that. :) Just needed to change that: from: if (this._player.getInventory().getInventoryItemCount(1681, 1) >= this._ammount) to: if (this._player.getInventory().getInventoryItemCount(1681, 0) >= this._ammount) Clean the code betterRemove all this.
Turkmenas Posted October 11, 2016 Posted October 11, 2016 Clean the code better Remove all this. Why remove, if everything works fine? :)
Reborn12 Posted October 11, 2016 Posted October 11, 2016 Why remove, if everything works fine? :) Ah do what you want just was a advice
SweeTs Posted October 11, 2016 Posted October 11, 2016 Why remove, if everything works fine? :) It's working, but that doesn't mean it's ok.
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