Add annotations.

This commit is contained in:
raoulvdberge
2018-06-16 23:59:11 +02:00
parent 3bab1fb4b9
commit 107189dc76
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ public class NetworkNodeCraftingMonitor extends NetworkNode implements ICrafting
} }
@Override @Override
public void onCancelled(EntityPlayerMP player, UUID id) { public void onCancelled(EntityPlayerMP player, @Nullable UUID id) {
if (network != null) { if (network != null) {
network.getItemGridHandler().onCraftingCancelRequested(player, id); network.getItemGridHandler().onCraftingCancelRequested(player, id);
} }

View File

@@ -47,7 +47,7 @@ public class WirelessCraftingMonitor implements ICraftingMonitor {
} }
@Override @Override
public void onCancelled(EntityPlayerMP player, UUID id) { public void onCancelled(EntityPlayerMP player, @Nullable UUID id) {
INetwork network = getNetwork(); INetwork network = getNetwork();
if (network != null) { if (network != null) {