Open JoeyDP opened 8 months ago
Seems very hard to do due to the order in which the functions are called. Cloud is placed back when player mines it in afterBreak
, but the onStateReplaced
method prevents the first method from being called if it modifies the state (to floor).
Given that this is quite an edge case that doesn't significantly impact gameplay, I am moving this to a later milestone.
Only place atomic floor when the cloud block would be removed, not when the player mined it. Otherwise a cloud may get separated from its master.