diff --git a/MCGalaxy/Blocks/Behaviour/PlaceBehaviour.cs b/MCGalaxy/Blocks/Behaviour/PlaceBehaviour.cs index 72cf987db..4ce4480b1 100644 --- a/MCGalaxy/Blocks/Behaviour/PlaceBehaviour.cs +++ b/MCGalaxy/Blocks/Behaviour/PlaceBehaviour.cs @@ -84,7 +84,8 @@ namespace MCGalaxy.Blocks { sbyte num = C4Physics.NextCircuit(p.level); p.level.C4list.Add(new C4Data(num)); p.c4circuitNumber = num; - Player.Message(p, "Place more blocks for more c4, then place a &c{0} %Sblock for the detonator.", Block.Name(Block.red)); + Player.Message(p, "Place more blocks for more c4, then place a &c{0} %Sblock for the detonator.", + p.level.BlockName(Block.red, 0)); } C4Data c4 = C4Physics.Find(p.level, p.c4circuitNumber); diff --git a/MCGalaxy/Commands/Maintenance/CmdBlockDB.cs b/MCGalaxy/Commands/Maintenance/CmdBlockDB.cs index f9de57b6d..3f6a44d86 100644 --- a/MCGalaxy/Commands/Maintenance/CmdBlockDB.cs +++ b/MCGalaxy/Commands/Maintenance/CmdBlockDB.cs @@ -47,10 +47,14 @@ namespace MCGalaxy.Commands.World { Player.Message(p, "Cleared &cALL %Sblock changes for " + lvl.ColoredName); } else if (args[0].CaselessEq("disable")) { lvl.UseBlockDB = false; + lvl.BlockDB.Cache.Enabled = false; + Player.Message(p, "&cDisabled %Srecording further block changes for " + lvl.ColoredName); Level.SaveSettings(lvl); } else if (args[0].CaselessEq("enable")) { lvl.UseBlockDB = true; + lvl.BlockDB.Cache.Enabled = true; + Player.Message(p, "&aEnabled %Srecording further block changes for " + lvl.ColoredName); Level.SaveSettings(lvl); } else {