You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/ch/njol/skript/effects/EffOpenInventory.java
+35-6Lines changed: 35 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,10 @@
21
21
22
22
packagech.njol.skript.effects;
23
23
24
+
importorg.bukkit.Bukkit;
24
25
importorg.bukkit.entity.Player;
25
26
importorg.bukkit.event.Event;
27
+
importorg.bukkit.event.inventory.InventoryType;
26
28
importorg.bukkit.inventory.Inventory;
27
29
importorg.eclipse.jdt.annotation.Nullable;
28
30
@@ -44,29 +46,47 @@
44
46
"Please note that currently 'show' and 'open' have the same effect, but 'show' will eventually show an unmodifiable view of the inventory in the future."})
45
47
@Examples({"show the victim's inventory to the player",
Skript.warning("Using 'show' inventory instead of 'open' is not recommended as it will eventually show an unmodifiable view of the inventory in the future.");
0 commit comments