mirror of
https://github.com/garbagemule/MobArena.git
synced 2025-02-03 06:01:27 +01:00
v0.85 Bugfixes
This commit is contained in:
parent
cfe135e465
commit
c309df8104
BIN
MobArena.jar
BIN
MobArena.jar
Binary file not shown.
@ -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))
|
||||||
{
|
{
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user