From 2115a8eccb75956d6a1ae42c62935c73dd79b3fb Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 25 May 2020 19:47:56 +1000 Subject: [PATCH] Better message when can't use a command in museum/because you're frozen --- MCGalaxy/Player/Player.Handlers.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MCGalaxy/Player/Player.Handlers.cs b/MCGalaxy/Player/Player.Handlers.cs index 84d927866..db1d4c605 100644 --- a/MCGalaxy/Player/Player.Handlers.cs +++ b/MCGalaxy/Player/Player.Handlers.cs @@ -660,10 +660,10 @@ namespace MCGalaxy { Message("Command is disabled as " + reason); return null; } if (level != null && level.IsMuseum && !command.museumUsable) { - Message("Cannot use this command while in a museum."); return null; + Message("Cannot use %T/{0} %Swhile in a museum.", command.name); return null; } if (frozen && !command.UseableWhenFrozen) { - Message("Cannot use this command while frozen."); return null; + Message("Cannot use %T/{0} %Swhile frozen.", command.name); return null; } return command; }