From 2b116f41cec78fabd6563f97e8f287a3330226e0 Mon Sep 17 00:00:00 2001 From: catbref Date: Sat, 6 Feb 2021 10:05:45 +0000 Subject: [PATCH] Change setSleepUntilHeight(int) to setSleepUntilHeight(Integer) to allow setting to null --- Java/src/main/java/org/ciyam/at/API.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Java/src/main/java/org/ciyam/at/API.java b/Java/src/main/java/org/ciyam/at/API.java index 4b94c35..7244da6 100644 --- a/Java/src/main/java/org/ciyam/at/API.java +++ b/Java/src/main/java/org/ciyam/at/API.java @@ -146,7 +146,7 @@ public abstract class API { state.rewindCodePosition(offset); } - protected void setSleepUntilHeight(MachineState state, int height) { + protected void setSleepUntilHeight(MachineState state, Integer height) { state.setSleepUntilHeight(height); }