Alex 8ae9cd4eaf Clone initial chunk in Flat.php
The Flat generator destroys Chunk at 0,0.

What happens is that it request the level to read Chunk at 0,0.  It then uses that chunk to create the template chunk.  However this obliterates whatever was in Chunk at 0,0.

Added a line to "clone" this chunk, so when parsePreset generates the template chunk, all this goes to a copy rather than the original file chunk 0,0.
2015-03-19 15:41:26 +01:00
2015-03-19 15:41:26 +01:00
2014-03-05 10:16:08 +01:00
2014-12-16 18:50:57 +01:00
2014-09-23 20:32:39 +09:30
2012-12-07 02:24:55 +01:00
2014-07-26 15:08:48 +02:00
2015-01-13 17:25:52 +01:00
2015-01-13 17:25:52 +01:00

PocketMine-MP

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

PocketMine-MP is a free, open-source software that creates Minecraft: Pocket Edition servers and allows extending its functionalities

Homepage

Forums

Documentation

Plugin Repository

Official Jenkins server

API Documentation

Twitter @PocketMine

IRC Chat #pocketmine (or #mcpedevs) @ irc.freenode.net

#pocketmine + #mcpedevs channel WebIRC

Want to contribute?

Third-party Libraries/Protocols Used

Languages
PHP 99.9%