tubelius

this.getConfig().getBoolean("Items.35.tradabl

Jun 30th, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. Why do I get "false" for id 35 using following code? this.getConfig().getBoolean("Items."+I.getTypeId()+".tradable")
  2.  
  3. config.yml:
  4. # default config.yml
  5. PurchasePriceMultiplier: 1.1
  6. InitPriceFactor: 7
  7. Items:
  8. - 33:
  9. tradable: true
  10. - 35:
  11. tradable: true
  12. - 37:
  13. tradable: true
Advertisement
Add Comment
Please, Sign In to add comment