mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-01-08 01:08:13 +01:00
correct a copy-paste error introduced in #2588
This commit is contained in:
parent
167ed5e0d3
commit
6e4fbb0ece
@ -129,7 +129,7 @@ public class WorldManager implements MVWorldManager {
|
||||
}
|
||||
|
||||
// Check for valid world name
|
||||
if (!(WorldNameChecker.isValidWorldName(oldName) && WorldNameChecker.isValidWorldName(oldName))) {
|
||||
if (!(WorldNameChecker.isValidWorldName(oldName) && WorldNameChecker.isValidWorldName(newName))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user