diff python/safe.py @ 12:1e42c0147a49

minutor changed file format for minecraft 1.18
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Sat, 11 Dec 2021 16:30:29 -0500
parents e411408d64ec
children 1cd5c7952aaa
line wrap: on
line diff
--- a/python/safe.py	Sat Dec 11 16:13:04 2021 -0500
+++ b/python/safe.py	Sat Dec 11 16:30:29 2021 -0500
@@ -57,7 +57,7 @@
 
   def readPoints(self,file):
     file.readline()
-    self.points=[[float(i) for i in l.split('\t')[2].split(',')] for l in file]
+    self.points=[[float(i) for i in l.split('\t')[2].split('/')] for l in file]
 
 Block.readHeaders=readHeaders # from util