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"))
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -237,6 +237,7 @@ public class FlatFileDataStore extends DataStore
|
||||||
}
|
}
|
||||||
|
|
||||||
BufferedReader inStream = null;
|
BufferedReader inStream = null;
|
||||||
|
String lesserCornerString = "";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Claim topLevelClaim = null;
|
Claim topLevelClaim = null;
|
||||||
|
|
@ -260,7 +261,8 @@ public class FlatFileDataStore extends DataStore
|
||||||
}
|
}
|
||||||
|
|
||||||
//first line is lesser boundary corner location
|
//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
|
//second line is greater boundary corner location
|
||||||
line = inStream.readLine();
|
line = inStream.readLine();
|
||||||
|
|
@ -359,8 +361,9 @@ public class FlatFileDataStore extends DataStore
|
||||||
{
|
{
|
||||||
if(e.getMessage().contains("World not found"))
|
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();
|
inStream.close();
|
||||||
files[i].delete();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user