mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Read all files as UTF-8 (#1035)
Fix encoding issues with some languages such as Chinese by forcing UTF-8 everywhere. Configuration files written in ANSI/Latin-1 and other encodings will need conversion.
This commit is contained in:
parent
cf9bc4c3d5
commit
20fb2323a4
9 changed files with 12 additions and 10 deletions
|
|
@ -1633,7 +1633,7 @@ namespace MinecraftClient
|
|||
public void OnExplosion(Location location, float strength, int affectedBlocks)
|
||||
{
|
||||
foreach (ChatBot bot in bots.ToArray())
|
||||
bot.OnExplosion(explode, strength, ExplosionRecordCount);
|
||||
bot.OnExplosion(location, strength, affectedBlocks);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue