1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-25 10:57:57 +00:00

Fix a couple of warnings

This commit is contained in:
Jonathan Coates
2024-03-10 12:04:40 +00:00
parent 3b8813cf8f
commit eead67e314
7 changed files with 32 additions and 23 deletions

View File

@@ -116,6 +116,7 @@ public final class MethodResult {
* @return The method result which represents this yield.
* @see #pullEvent(String, ILuaCallback)
*/
@SuppressWarnings("NamedLikeContextualKeyword")
public static MethodResult yield(@Nullable Object[] arguments, ILuaCallback callback) {
Objects.requireNonNull(callback, "callback cannot be null");
return new MethodResult(arguments, callback);