fixed error in block restore
This commit is contained in:
parent
aca18bb2e7
commit
de08456093
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user