Fix bad replace

This commit is contained in:
Jason Penilla committed 2023-03-21 20:07:26 -07:00
1 parent e5524eefd2
commit fc585fb66f
1 file changed
+3 -3
@@ -60,10 +60,10 @@ public final class CarbonPaperBootstrap extends JavaPlugin {
this.severe("* CarbonChat makes extensive use of APIs added by Paper."); this.severe("* CarbonChat makes extensive use of APIs added by Paper.");
this.severe("* For this reason, CarbonChat requires Paper and is not"); this.severe("* For this reason, CarbonChat requires Paper and is not");
this.severe("* compatible with Spigot or CraftBukkit servers."); this.severe("* compatible with Spigot or CraftBukkit servers.");
this.severe("* Upgrade your userManager to Paper in order to use CarbonChat."); this.severe("* Upgrade your server to Paper in order to use CarbonChat.");
this.severe("*"); this.severe("*");
PaperLib.suggestPaper(this, Level.SEVERE); PaperLib.suggestPaper(this, Level.SEVERE);
return new UnsupportedPlatformException("Not Paper or a Paper-based userManager runtime"); return new UnsupportedPlatformException("Not Paper or a Paper-based server runtime");
} }
private @Nullable UnsupportedPlatformException checkPaperVersion() { private @Nullable UnsupportedPlatformException checkPaperVersion() {
@@ -101,7 +101,7 @@ public final class CarbonPaperBootstrap extends JavaPlugin {
private static final class UnsupportedPlatformException extends RuntimeException { private static final class UnsupportedPlatformException extends RuntimeException {
UnsupportedPlatformException(final String reason) { UnsupportedPlatformException(final String reason) {
super("Your userManager does not support this build of Carbon: " + reason); super("Your server does not support this build of Carbon: " + reason);
} }
} }