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

Method clearEntityStateEvents

server/src/main/java/jake2/server/SV_MAIN.java:447–452  ·  view source on GitHub ↗

SV_PrepWorldFrame This has to be done before the world logic, because player processing happens outside RunWorldFrame.

(GameExports gameExports)

Source from the content-addressed store, hash-verified

445 * happens outside RunWorldFrame.
446 */
447 private static void clearEntityStateEvents(GameExports gameExports) {
448 for (int i = 0; i < gameExports.getNumEdicts(); i++) {
449 // events only last for a single message
450 gameExports.getEdict(i).s.event = 0;
451 }
452 }
453
454 /**
455 * SV_Frame.

Callers 1

updateMethod · 0.95

Calls 2

getNumEdictsMethod · 0.65
getEdictMethod · 0.65

Tested by

no test coverage detected