mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-25 02:17:45 +01:00
Started adding the yml acess data to the move event
This commit is contained in:
parent
16227f71ee
commit
eaaf8b542a
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user