From 4d74c9de9152be6db736d6bd91b57114e870b15b Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 2 Dec 2017 16:30:17 +1100 Subject: [PATCH] gb/lb copy shouldn't copy inventory order. (Thanks goodlyay) --- MCGalaxy/Commands/CPE/CustomBlockCommand.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs index 8e7fe4b5a..e00793446 100644 --- a/MCGalaxy/Commands/CPE/CustomBlockCommand.cs +++ b/MCGalaxy/Commands/CPE/CustomBlockCommand.cs @@ -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";