Skip to content

Commit

Permalink
refactor: rename bossItemMerchantNPC class
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed Jan 23, 2024
1 parent 596bf01 commit 504db14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
/**
* Handles code for the boss item merchant, specifically the one for the nether update.
*/
public class bossItemMerchantNPC{
public class BossItemMerchantNPC {
public static final int ID = 83;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
public class NPCListener implements Listener {
@EventHandler
public void npcSpawnListener(NPCSpawnEvent e) {
if (e.getNPC().getId() == bossItemMerchantNPC.ID){
bossItemMerchantNPC.teleportMerchant();
if (e.getNPC().getId() == BossItemMerchantNPC.ID){
BossItemMerchantNPC.teleportMerchant();
}
}
}

0 comments on commit 504db14

Please sign in to comment.