Removed obsolete files...

This commit is contained in:
Jeppa 2019-12-08 18:05:36 +01:00
parent 361396aa4a
commit c4d3ebac55
4 changed files with 2 additions and 67 deletions

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="me/Travja/HungerArena/ConfigManager.java" kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="lib" path="W:/Java_Dev/workspace/spigot-1.14.4_BT101.jar">
<attributes>
<attribute name="javadoc_location" value="jar:file:/W:/Java_Dev/workspace/spigot-api-1.14.2-R0.1-20190529.100137-6-javadoc!/"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="W:/Java_Dev/workspace/Vault_1.7.2.jar"/>
<classpathentry kind="lib" path="W:/Java_Dev/workspace/worldedit-bukkit-6.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -109,7 +109,7 @@ public class Main extends JavaPlugin{
SignsAndBeds SignsAndBeds = null;
SignsAndBedsOld SignsAndBedsOld = null;
Listener BlockStorage = new BlockStorage(this);
Listener WinGames = new WinGamesListener(this);
//Listener WinGames = new WinGamesListener(this);
Listener WorldChange = new WorldChange(this);
Listener Boundaries = new Boundaries(this);
Listener spawnsListener = new spawnsListener(this);
@ -190,7 +190,7 @@ public class Main extends JavaPlugin{
getLogger().info("Events 1.12- enabled!");
}
getServer().getPluginManager().registerEvents(BlockStorage, this);
getServer().getPluginManager().registerEvents(WinGames, this);
//getServer().getPluginManager().registerEvents(WinGames, this);
getServer().getPluginManager().registerEvents(WorldChange, this);
getServer().getPluginManager().registerEvents(Boundaries, this);
getServer().getPluginManager().registerEvents(spawnsListener, this);

View File

@ -1,27 +0,0 @@
package me.Travja.HungerArena;
import org.bukkit.entity.Player;
import org.bukkit.event.HandlerList;
import org.bukkit.event.player.PlayerEvent;
/**
*
* @author YoshiGenius
*/
public class PlayerWinGamesEvent extends PlayerEvent {
private static final HandlerList handlers = new HandlerList();
public PlayerWinGamesEvent(final Player p) {
super(p);
}
public HandlerList getHandlers() {
return handlers;
}
public static HandlerList getHandlerList() {
return handlers;
}
}

View File

@ -1,24 +0,0 @@
package me.Travja.HungerArena;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
/**
*
* based on YoshiGenius
*/
public class WinGamesListener implements Listener {
public Main plugin;
public WinGamesListener(Main m) {
this.plugin = m;
}
@EventHandler
public void onWin(PlayerWinGamesEvent evt) {
Player p = evt.getPlayer();
plugin.econ.depositPlayer(p, plugin.config.getDouble("EcoReward"));
}
}