package net.simpvp.Portals;

import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import org.bukkit.entity.Entity;
import org.bukkit.plugin.java.JavaPlugin;

public class Portals extends JavaPlugin {

	public static JavaPlugin instance;

	public static List<UUID> justTeleportedEntities = new ArrayList<UUID>();

	public void onEnable() {
		instance = this;

		/* Check if this plugin's directory exists, if not create it */
		File dir = new File("plugins/Portals");
		if ( !dir.exists() ) {
			dir.mkdir();
		}

		getServer().getPluginManager().registerEvents(new BlockBreak(), this);
		getServer().getPluginManager().registerEvents(new BlockPlace(), this);
		getServer().getPluginManager().registerEvents(new PlayerDeath(), this);
		getServer().getPluginManager().registerEvents(new PlayerToggleSneak(), this);

		/* Remove comment to enable minecart detection through portals */
		/* getServer().getPluginManager().registerEvents(new BlockRedstone(), this); */

		SQLite.connect();
	}

	public void onDisable() {
		SQLite.close();
	}


}


@@ -60,25 +60,20 @@
 va.util.
-ArrayList
+UUID
 ;%0Aimport
@@ -87,35 +87,15 @@
 til.
-List;%0Aimport java.util.UUID
+HashSet
 ;%0A%0Ai
@@ -264,19 +264,22 @@
  static 
-Lis
+HashSe
 t%3CUUID%3E 
@@ -311,16 +311,14 @@
 new 
-ArrayLis
+HashSe
 t%3CUU

Make justTeleportedEntities a HashSet instead of ArrayList