Skip to content

Commit

Permalink
Remove update checker and bumped version for release
Browse files Browse the repository at this point in the history
Added myself to the authors list as I've been maintaining this fork for a while
  • Loading branch information
Jikoo committed Nov 17, 2015
1 parent 20fb617 commit 8f17bd0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 453 deletions.
13 changes: 7 additions & 6 deletions src/com/lishid/openinv/OpenInv.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,18 @@
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;

import com.lishid.openinv.commands.*;
import com.lishid.openinv.commands.AnyChestPluginCommand;
import com.lishid.openinv.commands.OpenEnderPluginCommand;
import com.lishid.openinv.commands.OpenInvPluginCommand;
import com.lishid.openinv.commands.SearchInvPluginCommand;
import com.lishid.openinv.commands.SilentChestPluginCommand;
import com.lishid.openinv.commands.ToggleOpenInvPluginCommand;
import com.lishid.openinv.internal.IAnySilentChest;
import com.lishid.openinv.internal.IInventoryAccess;
import com.lishid.openinv.internal.IPlayerDataManager;
import com.lishid.openinv.internal.ISpecialEnderChest;
import com.lishid.openinv.internal.ISpecialPlayerInventory;
import com.lishid.openinv.internal.InternalAccessor;
import com.lishid.openinv.utils.UpdateManager;

/**
* Open other player's inventory
Expand All @@ -46,14 +50,13 @@ public class OpenInv extends JavaPlugin {
public static HashMap<String, ISpecialPlayerInventory> inventories = new HashMap<String, ISpecialPlayerInventory>();
public static HashMap<String, ISpecialEnderChest> enderChests = new HashMap<String, ISpecialEnderChest>();

private UpdateManager updater = new UpdateManager();

public static OpenInv mainPlugin;

public static IPlayerDataManager playerLoader;
public static IInventoryAccess inventoryAccess;
public static IAnySilentChest anySilentChest;

@Override
public void onEnable() {
// Get plugin manager
PluginManager pm = getServer().getPluginManager();
Expand All @@ -74,7 +77,6 @@ public void onEnable() {

mainPlugin = this;
FileConfiguration config = getConfig();
config.set("CheckForUpdates", config.getBoolean("CheckForUpdates", true));
config.set("NotifySilentChest", config.getBoolean("NotifySilentChest", true));
config.set("NotifyAnyChest", config.getBoolean("NotifyAnyChest", true));
config.set("ItemOpenInvItemID", config.getInt("ItemOpenInvItemID", 280));
Expand All @@ -96,7 +98,6 @@ public void onEnable() {
getCommand("anychest").setExecutor(new AnyChestPluginCommand(this));
getCommand("openender").setExecutor(new OpenEnderPluginCommand(this));

updater.Initialize(this, getFile());
}

public static boolean NotifySilentChest() {
Expand Down
34 changes: 0 additions & 34 deletions src/com/lishid/openinv/utils/UpdateManager.java

This file was deleted.

Loading

0 comments on commit 8f17bd0

Please sign in to comment.