Messages altered and colored

This commit is contained in:
shillingp
2014-06-16 22:03:44 +00:00
parent 473c7c9ffd
commit 18aee5a48e

View File

@@ -35,7 +35,8 @@ def onJoin(event):
loginloc = player.getLocation().getBlock().getType() loginloc = player.getLocation().getBlock().getType()
headloc = player.getEyeLocation().getBlock().getType() headloc = player.getEyeLocation().getBlock().getType()
if str(loginloc) == "PORTAL" or str(headloc) == "PORTAL": if str(loginloc) == "PORTAL" or str(headloc) == "PORTAL":
msg(player, "Looks like you spawned in a portal... Let me help you out") msg(player, "&4Looks like you spawned in a portal... Let me help you out")
msg(player, "&6You can use back if you &nreally&6 want to go back")
player.teleport(player.getWorld().getSpawnLocation()) player.teleport(player.getWorld().getSpawnLocation())