Skip to content

Commit 7b4135d

Browse files
committed
Switched API to singleton
1 parent c7668c1 commit 7b4135d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/hiddentech/playerstorage/PlayerStorageAPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ private PlayerStorageAPI(JavaPlugin plugin) {
8080
});
8181

8282
}
83-
public PlayerStorageAPI getInstance(JavaPlugin plugin){
83+
public static PlayerStorageAPI getInstance(JavaPlugin plugin){
8484
if(instance==null){
8585
instance = new PlayerStorageAPI(plugin);
8686
}

0 commit comments

Comments
 (0)