Skip to content

Commit

Permalink
Fixed 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDeBruijn committed Jun 29, 2020
1 parent 0df80a6 commit cebe31a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id 'java'
}

version = '1.16_1.0.2'
version = '1.16_1.0.3'

repositories {
jcenter()
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/nl/thedutchmc/dutchyhome/StorageHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,11 @@ public void loadStorage() {

public static void readStorage() {
List<String> homes = storage.getStringList("homes");
Home.homes.clear();

for(String str : homes) {
String[] strParts = str.split(":");

Home.homes.clear();

Home.homes.put(UUID.fromString(strParts[0]), new Location(Bukkit.getWorld(strParts[4]), Double.valueOf(strParts[1]), Double.valueOf(strParts[2]), Double.valueOf(strParts[3])));
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: DutchyHome
main: nl.thedutchmc.dutchyhome.Home
version: 1.0.2
version: 1.0.3
api-version: 1.16
author: TheDutchMC
description: Homes!
Expand Down

0 comments on commit cebe31a

Please sign in to comment.