Solved Why replace not work with...

Discussion in 'Spigot Plugin Development' started by --TOMAS--, May 29, 2016.

Thread Status:
Not open for further replies.
  1. Why .replace not work with a INT ? and a BOOLEAN?
     
  2. Are you trying to replace a text inside a text with an int (or boolean)? Just run #toString() on the int or boolean.
     
  3. Rather use String#valueOf(), ints and booleans don't have #toString() unless you're using the classes I believe
     
Thread Status:
Not open for further replies.