1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-24 18:37:38 +00:00

Fix build failures

- Add license headers. Also check these during pre-commit.
 - Fix javadoc issue.
This commit is contained in:
Jonathan Coates
2021-05-15 21:27:48 +01:00
parent 3d589eda4a
commit 349a7543b0
3 changed files with 16 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
/*
* This file is part of ComputerCraft - http://www.computercraft.info
* Copyright Daniel Ratcliffe, 2011-2021. Do not distribute without permission.
* Send enquiries to dratcliffe@gmail.com
* This file is part of the public ComputerCraft API - http://www.computercraft.info
* Copyright Daniel Ratcliffe, 2011-2021. This API may be redistributed unmodified and in full only.
* For help using the API, and posting your mods, visit the forums at computercraft.info.
*/
package dan200.computercraft.api.lua;
@@ -32,7 +32,7 @@ import javax.annotation.Nonnull;
*
* <pre>{@code
* public class InventoryMethods implements GenericSource {
* @LuaFunction( mainThread = true )
* \@LuaFunction( mainThread = true )
* public static int size(IItemHandler inventory) {
* return inventory.getSlots();
* }

View File

@@ -1,3 +1,8 @@
/*
* This file is part of ComputerCraft - http://www.computercraft.info
* Copyright Daniel Ratcliffe, 2011-2021. Do not distribute without permission.
* Send enquiries to dratcliffe@gmail.com
*/
package dan200.computercraft.core.asm;
import dan200.computercraft.ComputerCraft;