Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean isDouble(String i, Player player)
- {
- try
- {
- Double.parseDouble(i);
- return true;
- }
- catch(Exception ex)
- {
- System.out.println(player.getName()+" tried to pay a String.");
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment