File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
src/main/java/com/github/elic0de/thejpspit Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ public void onEnable() throws IllegalStateException {
2323 }
2424
2525 public BigDecimal getBalance (@ NotNull PitPlayer player ) {
26- if (tneAPI .getAccount (player .getUniqueId ()) == null ) return BigDecimal .ZERO ;
2726 return tneAPI .getAccount (player .getUniqueId ()).getHoldings (player .getPlayer ().getWorld ().getName ());
2827 }
2928
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public EventListener() {
3636 Bukkit .getPluginManager ().registerEvents (this , TheJpsPit .getInstance ());
3737 }
3838
39- @ EventHandler (priority = EventPriority . LOWEST )
39+ @ EventHandler ()
4040 public void onJoin (PlayerJoinEvent event ) {
4141 event .setJoinMessage ("" );
4242 new NoCollisionUtil ().sendNoCollisionPacket (event .getPlayer ());
You can’t perform that action at this time.
0 commit comments