ShadedDimension/enhanced-portals — pull request #50 by viliml (2013-09-08 09:28:09+00:00)
Title: Frevent a crash

http://pastebin.com/Y76TGRrd

Happened because the getUnlocalizedName() function was called before the textures were initialized. Now it works.