Skip to content

Commit

Permalink
Typo fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Aug 5, 2024
1 parent 536fdd1 commit 12c1871
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>de.presti</groupId>
<artifactId>trollv4</artifactId>
<name>TrollV4</name>
<version>4.5.18</version>
<version>4.5.19</version>
<build>
<resources>
<resource>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/de/presti/trollv4/listener/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

public class Event implements Listener {

// OVERALL
//region OVERALL

@SuppressWarnings("deprecation")
@EventHandler
Expand Down Expand Up @@ -80,18 +80,18 @@ public void onJoin(PlayerJoinEvent e) {
}
}

// OVERALL

@EventHandler
public void onQuit(PlayerQuitEvent e) {
Player p = e.getPlayer();
ArrayUtils.removeFromAll(p);
}

//endregion OVERALL

// NoInv

@EventHandler
public void onInvetoryOpen(InventoryOpenEvent e) {
public void onInventoryOpen(InventoryOpenEvent e) {
if (e.getPlayer() instanceof Player) {
Player p = (Player) e.getPlayer();
if (ArrayUtils.noinv.contains(p)) {
Expand Down

0 comments on commit 12c1871

Please sign in to comment.