def home(self, player, args):
		if not player.getDimension() == 0:
			player.message({"text": "Sorry, but you can't do this from the Nether or End.", "color": "red"})
			return
		username = player.username
		if username not in self.data:
			player.message({"text": "Home is not set. Use /sethome.", "color": "red"})
			return
		player.message({"text": "Teleporting you to your home.", "color": "green"})
		self.api.minecraft.console("tp %s %d %d %d" % (username, self.data[username][0], self.data[username][1], self.data[username][2]))
dataset/ETHPy150Open benbaptist/minecraft-wrapper/example-plugins/home.py/Main.home/original