mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 02:55:17 +00:00
Clean up null issues, add more annotations (#3590)
This commit is contained in:
1 parent
43efa3cfc4
commit
c545b8ecd4
130 files changed
+629
-262
No files matched your search
@@ -134,7 +134,7 @@ public class ClientCommandHandler extends CommandHandler
|
||||
if (mc.currentScreen instanceof GuiChat)
|
||||
{
|
||||
List<String> commands = getTabCompletions(mc.player, leftOfCursor, mc.player.getPosition());
|
||||
if (commands != null && !commands.isEmpty())
|
||||
if (!commands.isEmpty())
|
||||
{
|
||||
if (leftOfCursor.indexOf(' ') == -1)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user