Fixed the Forge platform not exposing events, and added a comment about PoI

This commit is contained in:
Matthew Miller 2020-08-08 14:28:44 +10:00
parent 05014b1fc9
commit 94ce464f34
2 changed files with 3 additions and 1 deletions

View File

@ -182,6 +182,7 @@ default void markAndNotifyBlock(NP pos, NC chunk, NBS oldState, NBS newState, Si
updateNeighbors(pos, oldState, newState, 512);
}
// Seems used only for PoI updates
onBlockStateChange(pos, oldState, newState);
}

View File

@ -216,7 +216,8 @@ public Map<Capability, Preference> getCapabilities() {
SideEffect.VALIDATION,
SideEffect.ENTITY_AI,
SideEffect.LIGHTING,
SideEffect.NEIGHBORS
SideEffect.NEIGHBORS,
SideEffect.EVENTS
);
@Override