More changes, xmas, hook error stoppan, and other stuff

This commit is contained in:
nossr50
2010-12-31 09:10:30 -08:00
parent 92c8ffa0a2
commit 9f840a3079
3 changed files with 8 additions and 5 deletions

View File

@ -96,6 +96,7 @@ public class vMinecraftListener extends PluginListener {
{
Warp home = null;
home = etc.getDataSource().getHome(player.getName());
if(home.Location != null)
player.teleportTo(home.Location);
//Makes sure the player has a custom home before telling them about /myspawn
if(etc.getServer().getSpawnLocation() != etc.getDataSource().getHome(player.getName()).Location){