aboutsummaryrefslogtreecommitdiff
path: root/spark-nukkit
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-02-04 18:27:06 +0000
committerLuck <git@lucko.me>2021-02-04 18:27:06 +0000
commita2f2e6dd592d9275bdc1c3e4749b076b87c98c70 (patch)
tree747a4f42c14099a410c96eebea7ff9fe6f5ce849 /spark-nukkit
parent7802172459179ce56419c6d3d2a9d43571e5c639 (diff)
downloadspark-a2f2e6dd592d9275bdc1c3e4749b076b87c98c70.tar.gz
spark-a2f2e6dd592d9275bdc1c3e4749b076b87c98c70.tar.bz2
spark-a2f2e6dd592d9275bdc1c3e4749b076b87c98c70.zip
Add license headers
Diffstat (limited to 'spark-nukkit')
-rw-r--r--spark-nukkit/build.gradle2
-rw-r--r--spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitCommandSender.java22
-rw-r--r--spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitPlatformInfo.java20
-rw-r--r--spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java20
4 files changed, 62 insertions, 2 deletions
diff --git a/spark-nukkit/build.gradle b/spark-nukkit/build.gradle
index d132592..a179de9 100644
--- a/spark-nukkit/build.gradle
+++ b/spark-nukkit/build.gradle
@@ -39,4 +39,4 @@ shadowJar {
artifacts {
archives shadowJar
shadow shadowJar
-} \ No newline at end of file
+}
diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitCommandSender.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitCommandSender.java
index 5a40e16..3d6de22 100644
--- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitCommandSender.java
+++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitCommandSender.java
@@ -1,3 +1,23 @@
+/*
+ * This file is part of spark.
+ *
+ * Copyright (c) lucko (Luck) <luck@lucko.me>
+ * Copyright (c) contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package me.lucko.spark.nukkit;
import cn.nukkit.Player;
@@ -36,4 +56,4 @@ public class NukkitCommandSender extends AbstractCommandSender<CommandSender> {
public boolean hasPermission(String permission) {
return this.delegate.hasPermission(permission);
}
-} \ No newline at end of file
+}
diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitPlatformInfo.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitPlatformInfo.java
index 7198719..7e34c62 100644
--- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitPlatformInfo.java
+++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitPlatformInfo.java
@@ -1,3 +1,23 @@
+/*
+ * This file is part of spark.
+ *
+ * Copyright (c) lucko (Luck) <luck@lucko.me>
+ * Copyright (c) contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package me.lucko.spark.nukkit;
import cn.nukkit.Server;
diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
index 6c16383..dab3be3 100644
--- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
+++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
@@ -1,3 +1,23 @@
+/*
+ * This file is part of spark.
+ *
+ * Copyright (c) lucko (Luck) <luck@lucko.me>
+ * Copyright (c) contributors
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
package me.lucko.spark.nukkit;
import cn.nukkit.command.Command;