mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-15 12:04:43 +02:00
Misc code fixes
This commit is contained in:
@ -4,8 +4,8 @@ import com.gmail.nossr50.datatypes.player.PlayerProfile;
|
||||
import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
public class PlayerProfileSaveTask extends BukkitRunnable {
|
||||
private PlayerProfile playerProfile;
|
||||
private boolean isSync;
|
||||
private final PlayerProfile playerProfile;
|
||||
private final boolean isSync;
|
||||
|
||||
public PlayerProfileSaveTask(PlayerProfile playerProfile, boolean isSync) {
|
||||
this.playerProfile = playerProfile;
|
||||
|
@ -5,7 +5,7 @@ import org.bukkit.scheduler.BukkitRunnable;
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
public class PlayerUpdateInventoryTask extends BukkitRunnable {
|
||||
private Player player;
|
||||
private final Player player;
|
||||
|
||||
public PlayerUpdateInventoryTask(Player player) {
|
||||
this.player = player;
|
||||
|
Reference in New Issue
Block a user