1
0
mirror of https://e.coding.net/circlecloud/Soulbound.git synced 2025-11-25 21:46:20 +00:00

remove auto update and mcstats...

Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
j502647092
2015-04-29 14:48:28 +08:00
parent 120f556db6
commit 3b72815e63
3 changed files with 3 additions and 47 deletions

View File

@@ -16,7 +16,6 @@ import org.bukkit.event.player.PlayerCommandPreprocessEvent;
import org.bukkit.event.player.PlayerDropItemEvent;
import org.bukkit.event.player.PlayerFishEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.bukkit.event.player.PlayerPickupItemEvent;
import org.bukkit.event.player.PlayerRespawnEvent;
import org.bukkit.event.player.PlayerShearEntityEvent;
@@ -38,16 +37,6 @@ import com.me.tft_02.soulbound.util.PlayerData;
public class PlayerListener implements Listener {
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
private void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (Soulbound.p.isUpdateAvailable() && Permissions.updateCheck(player)) {
player.sendMessage(ChatColor.GOLD + "Soulbound is outdated!");
player.sendMessage(ChatColor.AQUA + "http://dev.bukkit.org/server-mods/Soulbound/");
}
}
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
private void onItemPickup(PlayerPickupItemEvent event) {
Player player = event.getPlayer();

View File

@@ -4,4 +4,7 @@ import org.bukkit.ChatColor;
public class Misc {
public static String SOULBOUND_TAG = ChatColor.GOLD + "Soulbound";
public static String PICKUPBIND_TAG = ChatColor.GOLD + "Soulbound";
public static String USEBIND_TAG = ChatColor.GOLD + "Soulbound";
public static String EQUIPBIND_TAG = ChatColor.GOLD + "Soulbound";
}