Messages altered and colored
This commit is contained in:
3
misc.py
3
misc.py
@@ -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())
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user