Include app name in deprecation warnings (#1750)

This commit is contained in:
altrisi authored and GitHub committed 2023-06-26 17:59:57 +02:00
1 parent 22f31a7b51
commit cce52f3ed1
2 files changed
+2 -2

No files matched your search

@@ -1210,7 +1210,7 @@ public class CarpetScriptHost extends ScriptHost
{
if (super.issueDeprecation(feature))
{
Carpet.Messenger_message(responsibleSource, "rb '" + feature + "' is deprecated and soon will be removed. Please consult the docs for their replacement");
Carpet.Messenger_message(responsibleSource, "rb App '" +getName() + "' uses '" + feature + "', which is deprecated for removal. Check the docs for a replacement");
return true;
}
return false;