Skip to content

Commit 9c77fcb

Browse files
committed
Update warning messages for Border addon in onEnable method
1 parent f62050b commit 9c77fcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/world/bentobox/stranger/StrangerRealms.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private boolean loadSettings() {
133133
public void onEnable() {
134134
// Check for recommended addons
135135
if (this.getPlugin().getAddonsManager().getAddonByName("Border").isPresent()) {
136-
this.logWarning("StrangerRealms has its own Border, so do not use Border in the Crowdbound world.");
136+
this.logWarning("StrangerRealms has its own Border, so do not use Border addon.");
137137
}
138138
if (this.getPlugin().getAddonsManager().getAddonByName("InvSwitcher").isEmpty()) {
139139
this.logWarning("StrangerRealms recommends the InvSwitcher addon.");

src/test/java/world/bentobox/stranger/StrangerRealmsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public static void cleanUp() throws Exception {
128128
void testOnEnable() {
129129
verify(plugin).logWarning("[StrangerRealms] StrangerRealms recommends the InvSwitcher addon.");
130130
verify(plugin).logWarning(
131-
"[StrangerRealms] StrangerRealms has its own Border, so do not use Border in the Crowdbound world."
131+
"[StrangerRealms] StrangerRealms has its own Border, so do not use Border addon."
132132
);
133133
verify(plugin).logError(
134134
"[StrangerRealms] Could not make a spawn claim. You will have to set one manually in the world."

0 commit comments

Comments
 (0)