Finished back compat with buggy beta versions.
Now claim and player data that were written by beta versions will be automatically carried forward and used by newer stable versions.
This commit is contained in:
parent
23f8272a70
commit
fe473ebcb8
|
|
@ -159,10 +159,17 @@ public class FlatFileDataStore extends DataStore
|
|||
|
||||
while(line != null)
|
||||
{
|
||||
//Let's skip the UUID lines from previous versions
|
||||
//skip any SUB:### lines from previous versions
|
||||
if(line.startsWith("SUB:"))
|
||||
{
|
||||
line = inStream.readLine();
|
||||
}
|
||||
|
||||
//skip any UUID lines from previous versions
|
||||
Matcher match = uuidpattern.matcher(line.trim());
|
||||
if(match.find()) {
|
||||
inStream.readLine();
|
||||
if(match.find())
|
||||
{
|
||||
line = inStream.readLine();
|
||||
}
|
||||
|
||||
//first line is lesser boundary corner location
|
||||
|
|
|
|||
|
|
@ -1210,7 +1210,7 @@ class PlayerEventHandler implements Listener
|
|||
return;
|
||||
}
|
||||
|
||||
//if he's investigating a claim
|
||||
//if he's investigating a claim
|
||||
else if(materialInHand == GriefPrevention.instance.config_claims_investigationTool)
|
||||
{
|
||||
//air indicates too far away
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user