fixed error in block restore

This commit is contained in:
Chiss 2014-10-31 10:47:18 +11:00
parent aca18bb2e7
commit de08456093

View File

@ -189,7 +189,7 @@ public class BlockRestore extends MiniPlugin
//Snow
if (!Contains(block))
GetBlocks().put(block, new BlockRestoreData(block, 78, (byte)Math.max(0, heightAdd-1), expireTime, meltDelay));
GetBlocks().put(block, new BlockRestoreData(block, 78, (byte)Math.max(0, heightAdd-1), block.getTypeId(), block.getData(), expireTime, meltDelay));
else
GetData(block).update(78, heightAdd, expireTime, meltDelay);
}