Skip to content

Commit

Permalink
Removed: Unused extending of SimplePacketListenerAbstract in the Cach…
Browse files Browse the repository at this point in the history
…eManager

Added: Javadocs to a method in the AHIPlatform
  • Loading branch information
Bram1903 committed Sep 23, 2024
1 parent d1f38b5 commit fcea5e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ public void broadcastComponent(Component component, @Nullable String permission)
*/
public abstract boolean hasPermission(UUID sender, String permission);

/**
* Sends a console message.
*
* @param message The message to send.
*/
public abstract void sendConsoleMessage(Component message);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.deathmotion.antihealthindicator.data.Settings;
import com.deathmotion.antihealthindicator.data.cache.CachedEntity;
import com.deathmotion.antihealthindicator.data.cache.RidableEntity;
import com.github.retrooper.packetevents.event.SimplePacketListenerAbstract;
import lombok.Getter;
import lombok.NonNull;
import net.kyori.adventure.text.Component;
Expand All @@ -41,7 +40,7 @@
* @param <P> The platform type.
*/
@Getter
public class CacheManager<P> extends SimplePacketListenerAbstract {
public class CacheManager<P> {
private final ConcurrentHashMap<UUID, ConcurrentHashMap<Integer, CachedEntity>> cache;

private final AHIPlatform<P> platform;
Expand Down

0 comments on commit fcea5e8

Please sign in to comment.