3
0
mirror of https://github.com/Qortal/AT.git synced 2025-01-30 10:52:14 +00:00

Change setSleepUntilHeight(int) to setSleepUntilHeight(Integer) to allow setting to null

This commit is contained in:
catbref 2021-02-06 10:05:45 +00:00
parent f78ee39d8b
commit 2b116f41ce

View File

@ -146,7 +146,7 @@ public abstract class API {
state.rewindCodePosition(offset); state.rewindCodePosition(offset);
} }
protected void setSleepUntilHeight(MachineState state, int height) { protected void setSleepUntilHeight(MachineState state, Integer height) {
state.setSleepUntilHeight(height); state.setSleepUntilHeight(height);
} }