mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Minor change to CommandBlockSetEvent handler.
Remove import and add fully qualified name to clairify what's happening here.
This commit is contained in:
parent
218fd21774
commit
028d1a07b2
@ -16,7 +16,6 @@ import org.bukkit.entity.Player;
|
|||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.EventPriority;
|
import org.bukkit.event.EventPriority;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.server.CommandBlockSetEvent;
|
|
||||||
import org.bukkit.event.server.RemoteServerCommandEvent;
|
import org.bukkit.event.server.RemoteServerCommandEvent;
|
||||||
import org.bukkit.event.server.ServerCommandEvent;
|
import org.bukkit.event.server.ServerCommandEvent;
|
||||||
import org.bukkit.event.server.ServerListPingEvent;
|
import org.bukkit.event.server.ServerListPingEvent;
|
||||||
@ -32,7 +31,7 @@ public class TFM_ServerListener implements Listener
|
|||||||
// Just make sure that enable-command-block=false in server.properties.
|
// Just make sure that enable-command-block=false in server.properties.
|
||||||
// -Madgeek
|
// -Madgeek
|
||||||
@EventHandler(priority = EventPriority.NORMAL)
|
@EventHandler(priority = EventPriority.NORMAL)
|
||||||
public void onCommandBlockSet(CommandBlockSetEvent event)
|
public void onCommandBlockSet(org.bukkit.event.server.CommandBlockSetEvent event)
|
||||||
{
|
{
|
||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
String newCommandRaw = event.getNewCommand();
|
String newCommandRaw = event.getNewCommand();
|
||||||
|
Loading…
Reference in New Issue
Block a user