mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-30 06:03:59 +01:00
1.12 update
This commit is contained in:
parent
eba564e54b
commit
9b7279af14
2
pom.xml
2
pom.xml
@ -73,7 +73,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
<artifactId>spigot-api</artifactId>
|
<artifactId>spigot-api</artifactId>
|
||||||
<version>1.11-R0.1-SNAPSHOT</version>
|
<version>1.12-R0.1-SNAPSHOT</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
@ -133,7 +133,7 @@ public abstract class MPlugin extends JavaPlugin {
|
|||||||
while ((read = defLangStream.read(bytes)) != -1) {
|
while ((read = defLangStream.read(bytes)) != -1) {
|
||||||
out.write(bytes, 0, read);
|
out.write(bytes, 0, read);
|
||||||
}
|
}
|
||||||
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(defLangStream);
|
YamlConfiguration defConfig = YamlConfiguration.loadConfiguration(new BufferedReader(new InputStreamReader(defLangStream)));
|
||||||
TL.setFile(defConfig);
|
TL.setFile(defConfig);
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user