mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-10 09:21:25 +01:00
Spaaaaaace! So much space! Gotta see it all!
This commit is contained in:
parent
8a22258945
commit
a0cba8e63d
@ -126,7 +126,7 @@ public class EssentialsConf extends YamlConfiguration
|
|||||||
{
|
{
|
||||||
buffer.rewind();
|
buffer.rewind();
|
||||||
data.clear();
|
data.clear();
|
||||||
LOGGER.log(Level.INFO, "File " + configFile.getAbsolutePath().toString() + "is not utf-8 encoded, trying " + Charset.defaultCharset().displayName());
|
LOGGER.log(Level.INFO, "File " + configFile.getAbsolutePath().toString() + " is not utf-8 encoded, trying " + Charset.defaultCharset().displayName());
|
||||||
decoder = Charset.defaultCharset().newDecoder();
|
decoder = Charset.defaultCharset().newDecoder();
|
||||||
result = decoder.decode(buffer, data, true);
|
result = decoder.decode(buffer, data, true);
|
||||||
if (result.isError())
|
if (result.isError())
|
||||||
|
Loading…
Reference in New Issue
Block a user