File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/main/java/xyz/theprogramsrc/supercoreapi/global/data Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
<groupId >xyz.theprogramsrc</groupId >
8
8
<artifactId >SuperCoreAPI</artifactId >
9
- <version >3.6.1 </version >
9
+ <version >3.6.2 </version >
10
10
<packaging >jar</packaging >
11
11
12
12
<name >SuperCoreAPI</name >
Original file line number Diff line number Diff line change 10
10
import java .util .ArrayList ;
11
11
import java .util .Arrays ;
12
12
import java .util .List ;
13
+ import java .util .UUID ;
13
14
14
15
public class PluginDataStorage extends JsonConfig {
15
16
16
17
public PluginDataStorage (SuperPlugin <?> plugin ){
17
18
super (plugin .getPluginFolder (), "PluginData.json" );
19
+ if (!this .contains ("stats_id" )){
20
+ this .add ("stats_id" , UUID .randomUUID ().toString ());
21
+ }
18
22
}
19
23
20
24
public void saveNotification (Notification notification ){
You can’t perform that action at this time.
0 commit comments