mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2025-02-18 05:11:24 +01:00
Removed useless comments
This commit is contained in:
parent
4392d60b26
commit
e37ec1bef6
@ -5,7 +5,10 @@ import com.sekwah.advancedportals.api.portaldata.PortalArg;
|
|||||||
import com.sekwah.advancedportals.listeners.Listeners;
|
import com.sekwah.advancedportals.listeners.Listeners;
|
||||||
import com.sekwah.advancedportals.portals.AdvancedPortal;
|
import com.sekwah.advancedportals.portals.AdvancedPortal;
|
||||||
import com.sekwah.advancedportals.portals.Portal;
|
import com.sekwah.advancedportals.portals.Portal;
|
||||||
import org.bukkit.*;
|
import org.bukkit.DyeColor;
|
||||||
|
import org.bukkit.Location;
|
||||||
|
import org.bukkit.Material;
|
||||||
|
import org.bukkit.World;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandExecutor;
|
import org.bukkit.command.CommandExecutor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
|
@ -10,8 +10,6 @@ import com.sekwah.advancedportals.portals.Portal;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import java.io.*;
|
|
||||||
|
|
||||||
public class AdvancedPortalsPlugin extends JavaPlugin {
|
public class AdvancedPortalsPlugin extends JavaPlugin {
|
||||||
|
|
||||||
public CraftBukkit compat = null;
|
public CraftBukkit compat = null;
|
||||||
|
@ -4,13 +4,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 29/03/2016.
|
|
||||||
* <p>
|
|
||||||
* TODO add all the normal tags then add the extradata tags
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class PortalTags {
|
public class PortalTags {
|
||||||
|
|
||||||
// TODO create a list or hashmap of tags to check for.
|
// TODO create a list or hashmap of tags to check for.
|
||||||
|
@ -7,11 +7,6 @@ import java.util.ArrayList;
|
|||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 25/07/2016.
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class TagRegistry {
|
public class TagRegistry {
|
||||||
|
|
||||||
private final AdvancedPortalsPlugin plugin;
|
private final AdvancedPortalsPlugin plugin;
|
||||||
|
@ -2,11 +2,6 @@ package com.sekwah.advancedportals.api.warphandler;
|
|||||||
|
|
||||||
import com.sekwah.advancedportals.portals.Portal;
|
import com.sekwah.advancedportals.portals.Portal;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 30/07/2016.
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class ActivationData {
|
public class ActivationData {
|
||||||
|
|
||||||
private boolean warpAllowed = true;
|
private boolean warpAllowed = true;
|
||||||
|
@ -2,11 +2,6 @@ package com.sekwah.advancedportals.api.warphandler;
|
|||||||
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 30/07/2016.
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class TagHandler {
|
public class TagHandler {
|
||||||
|
|
||||||
public interface Creation{
|
public interface Creation{
|
||||||
|
@ -2,8 +2,6 @@ package com.sekwah.advancedportals.compat;
|
|||||||
|
|
||||||
import com.sekwah.advancedportals.AdvancedPortalsPlugin;
|
import com.sekwah.advancedportals.AdvancedPortalsPlugin;
|
||||||
import com.sekwah.advancedportals.reflection.ReflectionHelper;
|
import com.sekwah.advancedportals.reflection.ReflectionHelper;
|
||||||
import org.bukkit.World;
|
|
||||||
import org.bukkit.block.Block;
|
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
@ -11,14 +9,6 @@ import java.lang.reflect.Field;
|
|||||||
import java.lang.reflect.InvocationTargetException;
|
import java.lang.reflect.InvocationTargetException;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 02/08/2016.
|
|
||||||
*
|
|
||||||
* I don't think there will be any others supported other than bukkit but if there are its not just the compat that will
|
|
||||||
* need to change unless it has a different package for the minecraft server parts
|
|
||||||
*
|
|
||||||
* @author sekwah41 maxqia
|
|
||||||
*/
|
|
||||||
public class CraftBukkit {
|
public class CraftBukkit {
|
||||||
|
|
||||||
private final AdvancedPortalsPlugin plugin;
|
private final AdvancedPortalsPlugin plugin;
|
||||||
|
@ -1,12 +1,5 @@
|
|||||||
package com.sekwah.advancedportals.destinations;
|
package com.sekwah.advancedportals.destinations;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 04/08/2016.
|
|
||||||
*
|
|
||||||
* TODO load the destinations into memory rather than constantly reading from the yml.
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class PortalWarp {
|
public class PortalWarp {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -6,11 +6,6 @@ import com.sekwah.advancedportals.AdvancedPortalsPlugin;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.plugin.messaging.PluginMessageListener;
|
import org.bukkit.plugin.messaging.PluginMessageListener;
|
||||||
|
|
||||||
/**
|
|
||||||
* Created by on 29/03/2016.
|
|
||||||
*
|
|
||||||
* @author sekwah41
|
|
||||||
*/
|
|
||||||
public class BungeeListener implements PluginMessageListener {
|
public class BungeeListener implements PluginMessageListener {
|
||||||
|
|
||||||
private AdvancedPortalsPlugin plugin;
|
private AdvancedPortalsPlugin plugin;
|
||||||
|
@ -6,11 +6,7 @@ import com.sekwah.advancedportals.PluginMessages;
|
|||||||
import com.sekwah.advancedportals.api.events.WarpEvent;
|
import com.sekwah.advancedportals.api.events.WarpEvent;
|
||||||
import com.sekwah.advancedportals.portals.AdvancedPortal;
|
import com.sekwah.advancedportals.portals.AdvancedPortal;
|
||||||
import com.sekwah.advancedportals.portals.Portal;
|
import com.sekwah.advancedportals.portals.Portal;
|
||||||
import org.bukkit.Axis;
|
import org.bukkit.*;
|
||||||
import org.bukkit.Bukkit;
|
|
||||||
import org.bukkit.GameMode;
|
|
||||||
import org.bukkit.Location;
|
|
||||||
import org.bukkit.Material;
|
|
||||||
import org.bukkit.block.data.BlockData;
|
import org.bukkit.block.data.BlockData;
|
||||||
import org.bukkit.block.data.Orientable;
|
import org.bukkit.block.data.Orientable;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
@ -4,7 +4,10 @@ import com.sekwah.advancedportals.api.portaldata.PortalArg;
|
|||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.Collections;
|
||||||
|
import java.util.HashSet;
|
||||||
|
import java.util.Set;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
public class AdvancedPortal {
|
public class AdvancedPortal {
|
||||||
|
|
||||||
|
@ -8,13 +8,7 @@ import com.sekwah.advancedportals.PluginMessages;
|
|||||||
import com.sekwah.advancedportals.api.portaldata.PortalArg;
|
import com.sekwah.advancedportals.api.portaldata.PortalArg;
|
||||||
import com.sekwah.advancedportals.destinations.Destination;
|
import com.sekwah.advancedportals.destinations.Destination;
|
||||||
import com.sekwah.advancedportals.effects.WarpEffects;
|
import com.sekwah.advancedportals.effects.WarpEffects;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.*;
|
||||||
import org.bukkit.ChatColor;
|
|
||||||
import org.bukkit.GameMode;
|
|
||||||
import org.bukkit.Location;
|
|
||||||
import org.bukkit.Material;
|
|
||||||
import org.bukkit.Sound;
|
|
||||||
import org.bukkit.World;
|
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.permissions.PermissionAttachment;
|
import org.bukkit.permissions.PermissionAttachment;
|
||||||
|
Loading…
Reference in New Issue
Block a user