0

Remove debug image save.

This commit is contained in:
Alejandro Aguilera
2012-08-01 15:35:18 +02:00
parent 6cc1dc77c1
commit 19a5f97931

View File

@@ -1675,7 +1675,7 @@ def chests(self, blockid, data):
if data & 24 == 0: if data & 24 == 0:
if blockid == 130: t = self.load_image("enderchest.png") if blockid == 130: t = self.load_image("enderchest.png")
else: t = self.load_image("chest.png") else: t = self.load_image("chest.png")
t.save("textura.png")
# the textures is no longer in terrain.png, get it from # the textures is no longer in terrain.png, get it from
# item/chest.png and get by cropping all the needed stuff # item/chest.png and get by cropping all the needed stuff
if t.size != (64,64): t = t.resize((64,64), Image.ANTIALIAS) if t.size != (64,64): t = t.resize((64,64), Image.ANTIALIAS)