MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / isGeneral

Method isGeneral

src/main/java/PEP/Activities.java:86–91  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

84 }
85
86 private boolean isGeneral(int index) {
87 for(int i=0; i< gen.length; i++) {
88 if (index == gen[i]) return true;
89 }
90 return false;
91 }
92 private int getGeneralFor(int value) {
93 if (value <= 0 || value > getCount()) return 0;
94 for(int i = 0; i < gen.length ; i++) {

Callers 1

getActNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected