Skip to content

Commit

Permalink
Script fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Aug 22, 2016
1 parent f76f060 commit ecf1f5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mcpipy/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# Useful for checking which interpreter RaspberryJamMod's /py command is picking up.
#

import mc
from mine *
import sys
import os

mc = mc.Minecraft()
mc = Minecraft()
mc.postToChat("Python interpreter "+sys.executable+" "+sys.version)
try:
userName = os.environ['MINECRAFT_PLAYER_NAME']
Expand Down
2 changes: 1 addition & 1 deletion mcpipy/teleport.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mc import *
from mine import *
from sys import argv
mc = Minecraft()
mc.player.setTilePos(int(argv[1]), int(argv[2]), int(argv[3]))
2 changes: 1 addition & 1 deletion mcpipy/whereami.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mc import *
from mine import *
from sys import argv
mc = Minecraft()
mc.postToChat(mc.player.getTilePos())

0 comments on commit ecf1f5b

Please sign in to comment.