Wiggle left, wiggle right, hope this works.
This commit is contained in:
parent
d9c06e0fd3
commit
909877c869
@ -2,7 +2,8 @@ package mineplex.core.benefit;
|
||||
|
||||
import java.util.HashSet;
|
||||
|
||||
public class PlayerBenefit
|
||||
public class BenefitData
|
||||
{
|
||||
public HashSet<String> Benefits = new HashSet<String>();
|
||||
public boolean Loaded = false;
|
||||
}
|
@ -17,7 +17,7 @@ import org.bukkit.event.EventPriority;
|
||||
import org.bukkit.event.player.PlayerJoinEvent;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class BenefitManager extends MiniDbClientPlugin<PlayerBenefit>
|
||||
public class BenefitManager extends MiniDbClientPlugin<BenefitData>
|
||||
{
|
||||
private BenefitManagerRepository _repository;
|
||||
|
||||
@ -65,9 +65,9 @@ public class BenefitManager extends MiniDbClientPlugin<PlayerBenefit>
|
||||
}
|
||||
|
||||
@Override
|
||||
protected PlayerBenefit AddPlayer(String player)
|
||||
protected BenefitData AddPlayer(String player)
|
||||
{
|
||||
return new PlayerBenefit();
|
||||
return new BenefitData();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -35,9 +35,9 @@ public class BenefitManagerRepository extends RepositoryBase
|
||||
return executeUpdate(INSERT_BENEFIT, new ColumnVarChar("uuid", 100, uuid), new ColumnVarChar("benefit", 100, benefit)) > 0;
|
||||
}
|
||||
|
||||
public PlayerBenefit retrievePlayerBenefitData(ResultSet resultSet) throws SQLException
|
||||
public BenefitData retrievePlayerBenefitData(ResultSet resultSet) throws SQLException
|
||||
{
|
||||
PlayerBenefit playerBenefit = new PlayerBenefit();
|
||||
BenefitData playerBenefit = new BenefitData();
|
||||
|
||||
while (resultSet.next())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user