Renamed PlayerData to Data

This commit is contained in:
Auxilor
2021-04-08 15:03:17 +01:00
parent 6a64be2e25
commit 8fbcf485b3
2 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ package com.willfp.eco.spigot;
import com.willfp.eco.core.AbstractPacketAdapter;
import com.willfp.eco.core.EcoPlugin;
import com.willfp.eco.core.command.AbstractCommand;
import com.willfp.eco.core.data.PlayerData;
import com.willfp.eco.core.data.Data;
import com.willfp.eco.core.display.Display;
import com.willfp.eco.core.display.DisplayModule;
import com.willfp.eco.core.integrations.IntegrationLoader;
@@ -79,7 +79,7 @@ public class EcoSpigotPlugin extends EcoPlugin {
TridentUtils.initialize(tridentStackProxy::getTridentStack);
this.dataYml = new DataYml(this);
PlayerData.init(this.dataYml);
Data.init(this.dataYml);
}
@Override
@@ -95,7 +95,7 @@ public class EcoSpigotPlugin extends EcoPlugin {
@Override
public void disable() {
try {
PlayerData.save(this.dataYml);
Data.save(this.dataYml);
} catch (IOException e) {
e.printStackTrace();
}