mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 07:02:18 -07:00
Update to Minecraft 1.12-pre2
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
try {
|
||||
gameprofilebanlist.load();
|
||||
- } catch (FileNotFoundException filenotfoundexception) {
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { gameprofilebanlist.c().getName(), filenotfoundexception});
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacetrace
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", gameprofilebanlist.c().getName(), filenotfoundexception);
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacktrace
|
||||
+ } catch (IOException filenotfoundexception) {
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { gameprofilebanlist.c().getName()});
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", gameprofilebanlist.c().getName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
try {
|
||||
ipbanlist.load();
|
||||
- } catch (FileNotFoundException filenotfoundexception) {
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { ipbanlist.c().getName(), filenotfoundexception});
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacetrace
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", ipbanlist.c().getName(), filenotfoundexception);
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacktrace
|
||||
+ } catch (IOException filenotfoundexception) {
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { ipbanlist.c().getName()});
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", ipbanlist.c().getName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,10 +29,10 @@
|
||||
try {
|
||||
oplist.load();
|
||||
- } catch (FileNotFoundException filenotfoundexception) {
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { oplist.c().getName(), filenotfoundexception});
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacetrace
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", oplist.c().getName(), filenotfoundexception);
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacktrace
|
||||
+ } catch (IOException filenotfoundexception) {
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { oplist.c().getName()});
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", oplist.c().getName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,10 +41,10 @@
|
||||
try {
|
||||
whitelist.load();
|
||||
- } catch (FileNotFoundException filenotfoundexception) {
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { whitelist.c().getName(), filenotfoundexception});
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacetrace
|
||||
- NameReferencingFileConverter.e.warn("Could not load existing file {}", whitelist.c().getName(), filenotfoundexception);
|
||||
+ // CraftBukkit start - FileNotFoundException -> IOException, don't print stacktrace
|
||||
+ } catch (IOException filenotfoundexception) {
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", new Object[] { whitelist.c().getName()});
|
||||
+ NameReferencingFileConverter.e.warn("Could not load existing file {}", whitelist.c().getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user