Make fields final if possible to ensure immutability
This commit is contained in:
@@ -21,7 +21,7 @@ public class AppEngCraftingSlot extends AppEngSlot
|
||||
private final IInventory craftMatrix;
|
||||
|
||||
/** The player that is using the GUI where this slot resides. */
|
||||
private EntityPlayer thePlayer;
|
||||
private final EntityPlayer thePlayer;
|
||||
|
||||
/**
|
||||
* The number of items that have been crafted so far. Gets passed to ItemStack.onCrafting before being reset.
|
||||
|
||||
Reference in New Issue
Block a user