diff options
Diffstat (limited to 'nms-patches/NameReferencingFileConverter.patch')
-rw-r--r-- | nms-patches/NameReferencingFileConverter.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/nms-patches/NameReferencingFileConverter.patch b/nms-patches/NameReferencingFileConverter.patch index b2978b2f..9877efe9 100644 --- a/nms-patches/NameReferencingFileConverter.patch +++ b/nms-patches/NameReferencingFileConverter.patch @@ -12,6 +12,15 @@ } } +@@ -113,7 +114,7 @@ + public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) { + NameReferencingFileConverter.e.warn("Could not lookup user banlist entry for {}", gameprofile.getName(), exception); + if (!(exception instanceof ProfileNotFoundException)) { +- throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, null); ++ throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception); // CraftBukkit - decompile error + } + } + }; @@ -141,8 +142,9 @@ if (ipbanlist.c().exists()) { try { @@ -36,6 +45,15 @@ } } +@@ -198,7 +201,7 @@ + public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) { + NameReferencingFileConverter.e.warn("Could not lookup oplist entry for {}", gameprofile.getName(), exception); + if (!(exception instanceof ProfileNotFoundException)) { +- throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, null); ++ throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception); // CraftBukkit - decompile error + } + } + }; @@ -226,8 +229,9 @@ if (whitelist.c().exists()) { try { @@ -48,6 +66,24 @@ } } +@@ -242,7 +246,7 @@ + public void onProfileLookupFailed(GameProfile gameprofile, Exception exception) { + NameReferencingFileConverter.e.warn("Could not lookup user whitelist entry for {}", gameprofile.getName(), exception); + if (!(exception instanceof ProfileNotFoundException)) { +- throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, null); ++ throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception); // CraftBukkit - decompile error + } + } + }; +@@ -337,7 +341,7 @@ + + this.a(file, s, s); + } else { +- throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception, null); ++ throw new NameReferencingFileConverter.FileConversionException("Could not request user " + gameprofile.getName() + " from backend systems", exception); // CraftBukkit - decompile error + } + } + @@ -345,6 +349,30 @@ File file1 = new File(file2, s + ".dat"); File file3 = new File(file, s1 + ".dat"); |