Add package info and fix nullability

Everything defaults to nonnull now, and is labeled where null is likely
This commit is contained in:
KnightMiner committed 2020-07-22 20:43:55 -05:00
1 parent c96d1f4f05
commit f1037ce21a
61 files changed
+386 -256

No files matched your search

@@ -47,6 +47,7 @@ class ExampleSync {
@OnlyIn(Dist.CLIENT)
public void playerJoinedWorld(TickEvent.ClientTickEvent event) {
ClientPlayerEntity player = Minecraft.getInstance().player;
assert player != null;
if (needsRestart) {
player.sendMessage(new StringTextComponent("Configs synced with server. Configs require a restart"), Util.DUMMY_UUID);
}