MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / runHooks

Method runHooks

src/main/java/field/graphics/util/Saver.java:148–150  ·  view source on GitHub ↗
(Pair<ByteBuffer ,ByteBuffer > storage)

Source from the content-addressed store, hash-verified

146
147 return true;
148 }
149
150 private void runHooks(Pair<ByteBuffer ,ByteBuffer > storage) {
151 hooks.values().stream().forEach(x -> x.accept(storage.first));
152 }
153

Callers 1

updateMethod · 0.95

Calls 3

acceptMethod · 0.65
forEachMethod · 0.45
streamMethod · 0.45

Tested by

no test coverage detected