Remove unnecessary null checks for game client

Remove unnecessary null checks for game client from plugins, as now
client is always not null in all of them, since in the case of it being
null the plugins are not even started.

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2017-12-29 17:34:36 +01:00
parent 6c2e827d4a
commit 0d8870e7da
21 changed files with 24 additions and 58 deletions

View File

@@ -27,7 +27,6 @@ public class ExamplePlugin extends Plugin
private static final Logger logger = LoggerFactory.getLogger(ExamplePlugin.class);
@Inject
@Nullable
Client client;
@Inject