mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 18:47:20 +01:00
Fix MvInfo's respawn world
This commit is contained in:
parent
818756d45b
commit
9b9bbb4091
1
pom.xml
1
pom.xml
@ -48,7 +48,6 @@
|
|||||||
<source>${project.basedir}/lib/allpay/src</source>
|
<source>${project.basedir}/lib/allpay/src</source>
|
||||||
<source>${project.basedir}/lib/commandhandler/src</source>
|
<source>${project.basedir}/lib/commandhandler/src</source>
|
||||||
<source>${project.basedir}/lib/commandhandler/lib/ShellParser/src</source>
|
<source>${project.basedir}/lib/commandhandler/lib/ShellParser/src</source>
|
||||||
<source>${project.basedir}/lib/commandhandler/lib/JavaStructures/src</source>
|
|
||||||
</sources>
|
</sources>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
@ -100,7 +100,13 @@ public class InfoCommand extends MultiverseCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (world.getRespawnToWorld() != null) {
|
if (world.getRespawnToWorld() != null) {
|
||||||
message.add(new FancyMessage("Players will respawn in: ", world.getColoredWorldString(), colors));
|
MVWorld respawn = this.plugin.getMVWorld(world.getRespawnToWorld());
|
||||||
|
if(respawn != null) {
|
||||||
|
message.add(new FancyMessage("Players will respawn in: ", respawn.getColoredWorldString(), colors));
|
||||||
|
} else {
|
||||||
|
message.add(new FancyMessage("Players will respawn in: ", ChatColor.RED + "!!INVALID!!", colors));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
worldInfo.add(message);
|
worldInfo.add(message);
|
||||||
|
Loading…
Reference in New Issue
Block a user