ContinuousTurret ammo display

This commit is contained in:
Anuken
2021-11-24 19:23:08 -05:00
parent 78590abfc0
commit 1bcd48aadc
3 changed files with 22 additions and 3 deletions

View File

@@ -126,6 +126,11 @@ public class Consumers{
return (T)map[type.ordinal()];
}
@Nullable
public <T extends Consume> T getOrNull(ConsumeType type){
return (T)map[type.ordinal()];
}
@Nullable
public Consume[] all(){
return results;