More boot fixes.
This commit is contained in:
parent
4229a408cf
commit
3611c09e7d
|
|
@ -257,7 +257,7 @@ public class DatabaseDataStore extends DataStore
|
|||
{
|
||||
if(e.getMessage().contains("World not found"))
|
||||
{
|
||||
GriefPrevention.AddLogEntry("Failed to load a claim because its world isn't loaded (yet?). Please delete the claim or contact the GriefPrevention developer with information about which plugin(s) you're using to load or create worlds.");
|
||||
GriefPrevention.AddLogEntry("Failed to load a claim because its world isn't loaded (yet?). Please delete the claim or contact the GriefPrevention developer with information about which plugin(s) you're using to load or create worlds. " + lesserCornerString);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -237,6 +237,7 @@ public class FlatFileDataStore extends DataStore
|
|||
}
|
||||
|
||||
BufferedReader inStream = null;
|
||||
String lesserCornerString = "";
|
||||
try
|
||||
{
|
||||
Claim topLevelClaim = null;
|
||||
|
|
@ -260,7 +261,8 @@ public class FlatFileDataStore extends DataStore
|
|||
}
|
||||
|
||||
//first line is lesser boundary corner location
|
||||
Location lesserBoundaryCorner = this.locationFromString(line, validWorlds);
|
||||
lesserCornerString = line;
|
||||
Location lesserBoundaryCorner = this.locationFromString(lesserCornerString, validWorlds);
|
||||
|
||||
//second line is greater boundary corner location
|
||||
line = inStream.readLine();
|
||||
|
|
@ -359,8 +361,9 @@ public class FlatFileDataStore extends DataStore
|
|||
{
|
||||
if(e.getMessage().contains("World not found"))
|
||||
{
|
||||
GriefPrevention.AddLogEntry("Failed to load a claim because its world isn't loaded (yet?). Please delete the claim or contact the GriefPrevention developer with information about which plugin(s) you're using to load or create worlds. " + lesserCornerString);
|
||||
inStream.close();
|
||||
files[i].delete();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user