gb/lb copy shouldn't copy inventory order. (Thanks goodlyay)

This commit is contained in:
UnknownShadow200 2017-12-02 16:30:17 +11:00
parent ec23154fc7
commit 4d74c9de91

View File

@ -119,6 +119,7 @@ namespace MCGalaxy.Commands.CPE {
BlockProps props = global ? BlockDefinition.GlobalProps[src.RawID] : p.level.Props[src.Index];
dstDef = srcDef.Copy();
dstDef.BlockID = (byte)dst.RawID;
dstDef.InventoryOrder = -1;
AddBlock(p, dstDef, global, cmd, props);
string scope = global ? "global" : "level";