File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/java/fr/xephi/authme/listener Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 44import com .comphenix .protocol .events .ListenerPriority ;
55import com .comphenix .protocol .events .PacketAdapter ;
66import com .comphenix .protocol .events .PacketEvent ;
7+ import com .earth2me .essentials .libs .checkerframework .checker .nullness .qual .NonNull ;
78import fr .xephi .authme .AuthMe ;
89import fr .xephi .authme .api .v3 .AuthMeApi ;
910import fr .xephi .authme .settings .properties .HooksSettings ;
@@ -69,6 +70,7 @@ public void onInventoryClick(InventoryClickEvent event) {
6970 }
7071 return ;
7172 }
73+ /* Line 74 may throw NullPointerException, we can't solve it for now.*/
7274 if (Objects .requireNonNull (event .getCurrentItem ()).getType ().equals (Material .REDSTONE_BLOCK )) {
7375 event .setCancelled (true );
7476 closeReasonMap .put (player , "verified" );
You can’t perform that action at this time.
0 commit comments