summaryrefslogtreecommitdiff
path: root/spawnplayer.py
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2014-07-27 19:42:33 +0200
committerjomo <github@jomo.tv>2014-07-27 19:42:33 +0200
commitb1a3a92e49b353dfa42b52b448cdbc3b27bb33f8 (patch)
tree1b135af4f422d2ebcb96e814c08923d52b2f85c3 /spawnplayer.py
parente9b0ad656b71841fa23f332ddf8eff43e5cf1986 (diff)
apply file read/save helpers
Diffstat (limited to 'spawnplayer.py')
-rw-r--r--spawnplayer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/spawnplayer.py b/spawnplayer.py
index 15dafd3..374c6e3 100644
--- a/spawnplayer.py
+++ b/spawnplayer.py
@@ -4,6 +4,7 @@ import net.minecraft.server.v1_7_R1.PlayerInteractManager as PlayerInteractManag
import net.minecraft.util.com.mojang.authlib.GameProfile as GameProfile
import org.bukkit.Bukkit as bukkit
+
# players.txt contains 1 name per line
players = [line.strip() for line in open("players.txt").readlines()]