MCPcopy Create free account
hub / github.com/demoth/jake2 / appendIfNonNull

Method appendIfNonNull

game/src/main/java/jake2/game/GameWeapon.java:112–116  ·  view source on GitHub ↗
(StringBuilder result, String name, Object o)

Source from the content-addressed store, hash-verified

110 }
111
112 private static void appendIfNonNull(StringBuilder result, String name, Object o) {
113 if (o != null) {
114 result.append("\n ").append(name).append(": ").append(o);
115 }
116 }
117
118 static EntThinkAdapter Grenade_Explode = new EntThinkAdapter() {
119 public String getID() { return "Grenade_Explode"; }

Callers 1

buildEntityInfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected