From eaaf8b542abaea5aafc95768bbe65a5f44123005 Mon Sep 17 00:00:00 2001 From: sekwah41 Date: Tue, 8 Oct 2013 20:42:04 +0100 Subject: [PATCH] Started adding the yml acess data to the move event --- Advanced Portals/src/com/sekwah/advancedportals/Listeners.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Advanced Portals/src/com/sekwah/advancedportals/Listeners.java b/Advanced Portals/src/com/sekwah/advancedportals/Listeners.java index a6e1a63..71a3679 100644 --- a/Advanced Portals/src/com/sekwah/advancedportals/Listeners.java +++ b/Advanced Portals/src/com/sekwah/advancedportals/Listeners.java @@ -1,5 +1,7 @@ package com.sekwah.advancedportals; +import java.io.File; + import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.Player; @@ -22,6 +24,7 @@ public class Listeners implements Listener { @EventHandler public void onMoveEvent(PlayerMoveEvent event) { // will check if the player is in the portal or not. + ConfigAccessor config = new ConfigAccessor(plugin, "PlayerStats" + File.separator + "Portals.yml"); }