Misc cleanups
This commit is contained in:
@@ -78,7 +78,7 @@ class FileAppender : Appender, IDisposable
|
|||||||
{
|
{
|
||||||
lock (locker)
|
lock (locker)
|
||||||
{
|
{
|
||||||
var logBytes = Encoding.Unicode.GetBytes(message.prefix + message.text + "\r\n");
|
var logBytes = Encoding.UTF8.GetBytes(message.prefix + message.text + "\r\n");
|
||||||
|
|
||||||
if (_dynamicName)
|
if (_dynamicName)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2377,7 +2377,7 @@ namespace Game.Entities
|
|||||||
uint attributes = result.Read<uint>(1);
|
uint attributes = result.Read<uint>(1);
|
||||||
|
|
||||||
var spells = _GetSpellInfo(spellId);
|
var spells = _GetSpellInfo(spellId);
|
||||||
if (spells == null)
|
if (spells.Empty())
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Sql, "Table `spell_custom_attr` has wrong spell (entry: {0}), ignored.", spellId);
|
Log.outError(LogFilter.Sql, "Table `spell_custom_attr` has wrong spell (entry: {0}), ignored.", spellId);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user