mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-18 11:19:20 +00:00
Mappings bump, nullable/nonnull annotations
This commit is contained in:
1 parent
744f2ab0ab
commit
141ce60e53
29 files changed
+152
-48
No files matched your search
@@ -21,6 +21,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
public class ContainerMultiModule<T extends TileEntity & IInventory> extends BaseContainer<T> {
|
||||
|
||||
public List<Container> subContainers = Lists.newArrayList();
|
||||
@@ -86,7 +88,7 @@ public class ContainerMultiModule<T extends TileEntity & IInventory> extends Bas
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canInteractWith(EntityPlayer playerIn) {
|
||||
public boolean canInteractWith(@Nonnull EntityPlayer playerIn) {
|
||||
// check if subcontainers are valid
|
||||
for(Container sub : subContainers) {
|
||||
if(!sub.canInteractWith(playerIn)) {
|
||||
|
||||
Reference in new issue
Block a user