Skip to content

Commit

Permalink
InventoryView compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannyboy11 committed Jun 17, 2024
1 parent 16cbe60 commit 400acc7
Show file tree
Hide file tree
Showing 51 changed files with 434 additions and 445 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.janboerman.invsee.spigot.api.template.EnderChestSlot;
import com.janboerman.invsee.spigot.api.template.Mirror;
import com.janboerman.invsee.spigot.api.template.PlayerInventorySlot;
import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;

import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
import com.janboerman.invsee.spigot.internal.OpenSpectatorsCache;
import com.janboerman.invsee.spigot.internal.inventory.ShallowCopy;
import com.janboerman.invsee.spigot.internal.inventory.Personal;
import com.janboerman.invsee.spigot.internal.view.EnderSpectatorInventoryView;
import com.janboerman.invsee.spigot.internal.view.MainSpectatorInventoryView;
import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;
import com.janboerman.invsee.utils.*;
import org.bukkit.*;
import org.bukkit.entity.*;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface SpectatorInventoryView<Slot> {
* Get the top inventory of this view.
* @return the top inventory
*/
public SpectatorInventory<Slot> getTopInventory();
public SpectatorInventory<Slot> getTopInventory();

/**
* Get the difference tracked by this window.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.janboerman.invsee.spigot.api.target.Target;
import com.janboerman.invsee.spigot.internal.ConstantTitle;
import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;

import java.util.function.Function;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.util.Map;
import java.util.Objects;

import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;
import com.janboerman.invsee.spigot.api.SpectatorInventoryView;

/**
* The Difference of a {@link SpectatorInventoryView} is the set of items that were added and removed the {@link com.janboerman.invsee.spigot.api.SpectatorInventory}.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.janboerman.invsee.spigot.api.logging;

import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;
import com.janboerman.invsee.spigot.api.SpectatorInventoryView;

/**
* Granularity for logging.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.Objects;
import java.util.Set;

import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;
import com.janboerman.invsee.spigot.api.SpectatorInventoryView;

/**
* Options for logging interactions with {@link SpectatorInventoryView}s.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.janboerman.invsee.spigot.api.response;

import com.janboerman.invsee.spigot.internal.view.SpectatorInventoryView;
import com.janboerman.invsee.spigot.api.SpectatorInventoryView;

import java.util.NoSuchElementException;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import com.janboerman.invsee.spigot.api.CreationOptions;
import com.janboerman.invsee.spigot.api.EnderSpectatorInventory;
import com.janboerman.invsee.spigot.internal.view.EnderSpectatorInventoryView;
import com.janboerman.invsee.spigot.api.EnderSpectatorInventoryView;
import com.janboerman.invsee.spigot.api.MainSpectatorInventory;
import com.janboerman.invsee.spigot.internal.view.MainSpectatorInventoryView;
import com.janboerman.invsee.spigot.api.MainSpectatorInventoryView;
import com.janboerman.invsee.spigot.api.Title;
import com.janboerman.invsee.spigot.api.logging.LogGranularity;
import com.janboerman.invsee.spigot.api.logging.LogOptions;
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 400acc7

Please sign in to comment.