Skip to content

Commit

Permalink
Fix issues when loading notables with multiple-word world names.
Browse files Browse the repository at this point in the history
  • Loading branch information
aufdemrand committed Oct 19, 2013
1 parent 74ed8bf commit 589cdf9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -28,7 +28,7 @@ public class dLocation extends org.bukkit.Location implements dObject {

// This pattern correctly reads both 0.9 and 0.8 notables
final static Pattern notablePattern =
Pattern.compile("(\\w+)[;,]((-?\\d+\\.?\\d*,){3,5}\\w+)",
Pattern.compile("(\\w+)[;,]((-?\\d+\\.?\\d*,){3,5}.+)",
Pattern.CASE_INSENSITIVE);

/////////////////////
Expand Down

0 comments on commit 589cdf9

Please sign in to comment.