Clean up most resources, Completable > Observable

This commit is contained in:
Lucwousin
2019-10-15 23:43:57 +02:00
parent e61ba1a0ce
commit 1282880a2c
13 changed files with 81 additions and 57 deletions

View File

@@ -84,9 +84,8 @@ public class RuneLiteAPI
static
{
try
try (InputStream in = RuneLiteAPI.class.getResourceAsStream("/runelite.properties"))
{
InputStream in = RuneLiteAPI.class.getResourceAsStream("/runelite.properties");
properties.load(in);
version = properties.getProperty("runelite.version");