mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-21 07:59:28 +00:00
Fixed type paramets
This commit is contained in:
@@ -42,7 +42,7 @@ import java.util.Objects;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
public class EcoBoss extends PluginDependent {
|
public class EcoBoss extends PluginDependent<EcoPlugin> {
|
||||||
/**
|
/**
|
||||||
* The name of the boss.
|
* The name of the boss.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import java.util.List;
|
|||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.concurrent.atomic.AtomicLong;
|
import java.util.concurrent.atomic.AtomicLong;
|
||||||
|
|
||||||
public class LivingEcoBoss extends PluginDependent {
|
public class LivingEcoBoss extends PluginDependent<EcoPlugin> {
|
||||||
/**
|
/**
|
||||||
* The entity.
|
* The entity.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|
||||||
public class AttackListeners extends PluginDependent implements Listener {
|
public class AttackListeners extends PluginDependent<EcoPlugin> implements Listener {
|
||||||
/**
|
/**
|
||||||
* Create new attack listeners.
|
* Create new attack listeners.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ import java.util.ArrayList;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public class DeathListeners extends PluginDependent implements Listener {
|
public class DeathListeners extends PluginDependent<EcoPlugin> implements Listener {
|
||||||
/**
|
/**
|
||||||
* Create new death listeners.
|
* Create new death listeners.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import org.bukkit.event.Listener;
|
|||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.spigotmc.event.entity.EntityMountEvent;
|
import org.spigotmc.event.entity.EntityMountEvent;
|
||||||
|
|
||||||
public class PassiveListeners extends PluginDependent implements Listener {
|
public class PassiveListeners extends PluginDependent<EcoPlugin> implements Listener {
|
||||||
/**
|
/**
|
||||||
* Create new attack listeners.
|
* Create new attack listeners.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import org.bukkit.event.Listener;
|
|||||||
import org.bukkit.event.block.BlockPlaceEvent;
|
import org.bukkit.event.block.BlockPlaceEvent;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
public class SpawnListeners extends PluginDependent implements Listener {
|
public class SpawnListeners extends PluginDependent<EcoPlugin> implements Listener {
|
||||||
/**
|
/**
|
||||||
* Create new spawn listeners and link them to a plugin.
|
* Create new spawn listeners and link them to a plugin.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull;
|
|||||||
import java.util.IdentityHashMap;
|
import java.util.IdentityHashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public class ProxyFactory<T extends AbstractProxy> extends PluginDependent {
|
public class ProxyFactory<T extends AbstractProxy> extends PluginDependent<EcoPlugin> {
|
||||||
/**
|
/**
|
||||||
* Cached proxy implementations in order to not perform expensive reflective class-finding.
|
* Cached proxy implementations in order to not perform expensive reflective class-finding.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user