mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-30 16:19:11 +02:00
Updated EssentialsSpawn to use the new config code
/spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins.
This commit is contained in:
@@ -3,7 +3,6 @@ package com.earth2me.essentials.user;
|
||||
import com.earth2me.essentials.IEssentials;
|
||||
import com.earth2me.essentials.storage.AbstractDelayedYamlFileWriter;
|
||||
import com.earth2me.essentials.storage.StorageObject;
|
||||
import com.earth2me.essentials.storage.YamlStorageReader;
|
||||
import java.util.concurrent.locks.ReentrantReadWriteLock;
|
||||
import lombok.Cleanup;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
@@ -25,11 +24,6 @@ public class User extends UserBase implements IOfflineUser
|
||||
super(offlinePlayer, ess);
|
||||
}
|
||||
|
||||
public void loadUserData()
|
||||
{
|
||||
data = new YamlStorageReader(null).load(UserData.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserData getData()
|
||||
{
|
||||
|
Reference in New Issue
Block a user