mirror of
https://github.com/AppleDash/SaneEconomy.git
synced 2024-06-22 20:44:47 +02:00
Fix ClassCastException loading flatfile DB
This commit is contained in:
parent
2ccd25cce4
commit
3695d1389b
|
@ -6,10 +6,10 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<artifactId>SaneEconomy</artifactId>
|
<artifactId>SaneEconomy</artifactId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>SaneEconomyCore</artifactId>
|
<artifactId>SaneEconomyCore</artifactId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -43,7 +43,7 @@ public class EconomyStorageBackendFlatfile extends EconomyStorageBackendCaching
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
balances = (HashMap<String, Double>) ois.readObject();
|
balances = (Map<String, Double>) ois.readObject();
|
||||||
|
|
||||||
ois.close();
|
ois.close();
|
||||||
} catch (IOException | ClassNotFoundException e) {
|
} catch (IOException | ClassNotFoundException e) {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: SaneEconomy
|
name: SaneEconomy
|
||||||
author: AppleDash
|
author: AppleDash
|
||||||
main: org.appledash.saneeconomy.SaneEconomy
|
main: org.appledash.saneeconomy.SaneEconomy
|
||||||
version: 0.10.0
|
version: 0.10.1
|
||||||
loadbefore: [Vault]
|
loadbefore: [Vault]
|
||||||
commands:
|
commands:
|
||||||
balance:
|
balance:
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>SaneEconomy</artifactId>
|
<artifactId>SaneEconomy</artifactId>
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<artifactId>SaneEconomyCore</artifactId>
|
<artifactId>SaneEconomyCore</artifactId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<artifactId>SaneEconomy</artifactId>
|
<artifactId>SaneEconomy</artifactId>
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<artifactId>SaneEconomyCore</artifactId>
|
<artifactId>SaneEconomyCore</artifactId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>org.appledash</groupId>
|
<groupId>org.appledash</groupId>
|
||||||
<artifactId>SaneEconomy</artifactId>
|
<artifactId>SaneEconomy</artifactId>
|
||||||
<version>0.10.0-SNAPSHOT</version>
|
<version>0.10.1-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user