Fixed portal Z direction loop coding failure
Fixed portal Z direction loop coding failure

* Fixed portals created in the ZP/ZM direction eating its frame
* Changed return type of a function

nevercast/cuberite,Fighter19/cuberite,zackp30/cuberite,electromatter/cuberite,QUSpilPrgm/cuberite,guijun/MCServer,Howaner/MCServer,SamOatesPlugins/cuberite,Tri125/MCServer,nichwall/cuberite,linnemannr/MCServer,Howaner/MCServer,thetaeo/cuberite,mc-server/MCServer,zackp30/cuberite,kevinr/cuberite,HelenaKitty/EbooMC,guijun/MCServer,nounoursheureux/MCServer,Frownigami1/cuberite,nounoursheureux/MCServer,thetaeo/cuberite,nicodinh/cuberite,mjssw/cuberite,electromatter/cuberite,Tri125/MCServer,kevinr/cuberite,nichwall/cuberite,Tri125/MCServer,mmdk95/cuberite,johnsoch/cuberite,mc-server/MCServer,birkett/MCServer,linnemannr/MCServer,Frownigami1/cuberite,jammet/MCServer,linnemannr/MCServer,Altenius/cuberite,SamOatesPlugins/cuberite,mmdk95/cuberite,mc-server/MCServer,SamOatesPlugins/cuberite,Tri125/MCServer,marvinkopf/cuberite,kevinr/cuberite,QUSpilPrgm/cuberite,SamOatesPlugins/cuberite,marvinkopf/cuberite,Schwertspize/cuberite,thetaeo/cuberite,birkett/MCServer,marvinkopf/cuberite,HelenaKitty/EbooMC,Schwertspize/cuberite,nicodinh/cuberite,nounoursheureux/MCServer,mjssw/cuberite,electromatter/cuberite,Tri125/MCServer,johnsoch/cuberite,mc-server/MCServer,mmdk95/cuberite,ionux/MCServer,ionux/MCServer,birkett/MCServer,ionux/MCServer,bendl/cuberite,kevinr/cuberite,mmdk95/cuberite,nevercast/cuberite,mjssw/cuberite,nevercast/cuberite,thetaeo/cuberite,mc-server/MCServer,linnemannr/MCServer,guijun/MCServer,marvinkopf/cuberite,mjssw/cuberite,Frownigami1/cuberite,zackp30/cuberite,birkett/MCServer,tonibm19/cuberite,jammet/MCServer,tonibm19/cuberite,tonibm19/cuberite,linnemannr/MCServer,Fighter19/cuberite,Howaner/MCServer,nounoursheureux/MCServer,Howaner/MCServer,QUSpilPrgm/cuberite,Frownigami1/cuberite,linnemannr/MCServer,guijun/MCServer,nevercast/cuberite,Schwertspize/cuberite,birkett/MCServer,Haxi52/cuberite,Fighter19/cuberite,mmdk95/cuberite,nicodinh/cuberite,birkett/cuberite,jammet/MCServer,jammet/MCServer,mjssw/cuberite,thetaeo/cuberite,nicodinh/cuberite,marvinkopf/cuberite,electromatter/cuberite,birkett/cuberite,jammet/MCServer,marvinkopf/cuberite,kevinr/cuberite,nicodinh/cuberite,birkett/MCServer,nichwall/cuberite,HelenaKitty/EbooMC,Altenius/cuberite,ionux/MCServer,birkett/cuberite,zackp30/cuberite,nichwall/cuberite,QUSpilPrgm/cuberite,nicodinh/cuberite,HelenaKitty/EbooMC,nevercast/cuberite,birkett/cuberite,Haxi52/cuberite,mmdk95/cuberite,nevercast/cuberite,electromatter/cuberite,Haxi52/cuberite,nichwall/cuberite,bendl/cuberite,nounoursheureux/MCServer,zackp30/cuberite,bendl/cuberite,nichwall/cuberite,birkett/cuberite,nounoursheureux/MCServer,kevinr/cuberite,QUSpilPrgm/cuberite,johnsoch/cuberite,tonibm19/cuberite,tonibm19/cuberite,Frownigami1/cuberite,Altenius/cuberite,Haxi52/cuberite,ionux/MCServer,Tri125/MCServer,Fighter19/cuberite,guijun/MCServer,johnsoch/cuberite,Schwertspize/cuberite,bendl/cuberite,Altenius/cuberite,jammet/MCServer,Haxi52/cuberite,thetaeo/cuberite,SamOatesPlugins/cuberite,QUSpilPrgm/cuberite,mjssw/cuberite,bendl/cuberite,johnsoch/cuberite,zackp30/cuberite,HelenaKitty/EbooMC,ionux/MCServer,Schwertspize/cuberite,Howaner/MCServer,Howaner/MCServer,Haxi52/cuberite,Altenius/cuberite,Fighter19/cuberite,tonibm19/cuberite,Fighter19/cuberite,birkett/cuberite,electromatter/cuberite,mc-server/MCServer,guijun/MCServer