Skip to content

Instantly share code, notes, and snippets.

@blackwolf12333
Created September 30, 2012 19:49
Show Gist options
  • Save blackwolf12333/3808275 to your computer and use it in GitHub Desktop.
Save blackwolf12333/3808275 to your computer and use it in GitHub Desktop.
public static void main(String[] args) {
String line = "30-09-2012 20-24-23 [BLOCK_BREAK] By: blackwolf12333 GM: 1 What: GRASS:0 on Pos: -682, 64, -461 in: world";
if(!(BaseData.loadFromString(line) == null)) {
System.out.print("contains");
} else {
System.out.print("doesn't contain");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment