v0.85 Bugfixes

This commit is contained in:
Garbage Mule 2011-06-02 02:03:16 +02:00
parent cfe135e465
commit c309df8104
3 changed files with 2 additions and 3 deletions

Binary file not shown.

View File

@ -2,6 +2,7 @@ package com.garbagemule.MobArena;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandSender; import org.bukkit.command.CommandSender;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
@ -17,7 +18,7 @@ public class MACommands implements CommandExecutor
* valid commands (from plugin.yml). * valid commands (from plugin.yml).
*/ */
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args)
{ {
// Only accept commands from players. // Only accept commands from players.
if ((sender == null) || !(sender instanceof Player)) if ((sender == null) || !(sender instanceof Player))
{ {

View File

@ -32,8 +32,6 @@ public class MASpawnThread implements Runnable
private Random random; private Random random;
private Player target; private Player target;
private String reward, currentRewards; private String reward, currentRewards;
// TO-DO: Move this into MAUtils
private static List<Player> playerList;
public MASpawnThread() public MASpawnThread()
{ {