mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 05:05:18 +01:00
Register worlds with Multiverse - reverts previous change
UseOwnGenerator is used by SkyGrid. This change makes sure MV registration occurs. https://github.com/BentoBoxWorld/SkyGrid/issues/22
This commit is contained in:
parent
0f5629b729
commit
fb86a25a5e
@ -63,7 +63,7 @@ public class IslandWorldManager {
|
||||
* @param world the World to register
|
||||
*/
|
||||
private void registerToMultiverse(@NonNull World world) {
|
||||
if (!isUseOwnGenerator(world) && plugin.getHooks() != null) {
|
||||
if (plugin.getHooks() != null) {
|
||||
plugin.getHooks().getHook("Multiverse-Core").ifPresent(hook -> {
|
||||
if (Bukkit.isPrimaryThread()) {
|
||||
((MultiverseCoreHook) hook).registerWorld(world);
|
||||
|
Loading…
Reference in New Issue
Block a user