Commit fe68f289 authored by Rían Errity's avatar Rían Errity 🇮🇪
Browse files

v1.16.1, formalising GPL

parent 4b2cefd3
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright © 2020 Property of Rían Errity Licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See <LICENSE.md> -->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
......@@ -6,7 +7,7 @@
<groupId>co.paradaux.hibernia</groupId>
<artifactId>VoidSpawn</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<name>VoidSpawn</name>
......@@ -70,7 +71,7 @@
<dependency>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.14.1-R0.1-SNAPSHOT</version>
<version>1.16.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
......
/*
* Copyright © 2020 Property of Rían Errity Licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See <LICENSE.md>
*/
package co.paradaux.hibernia.VoidSpawn;
import co.paradaux.hibernia.VoidSpawn.events.PlayerMoveEventListener;
......
/*
* Copyright © 2020 Property of Rían Errity Licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See <LICENSE.md>
*/
package co.paradaux.hibernia.VoidSpawn.events;
import org.bukkit.Bukkit;
......@@ -15,7 +19,8 @@ public class PlayerMoveEventListener implements Listener {
public PlayerMoveEventListener(Plugin plugin) {
this.plugin = plugin;
this.order = plugin.getConfig().getString("fall-cmd");
if (order == "worldspawn") {
assert order != null;
if (order.equals("worldspawn")) {
worldspawn = true;
}
this.worldspawn = false;
......
# Copyright © 2020 Property of Rían Errity Licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See <LICENSE.md>
# Command to be run following falling into the void
# Set this to worldspawn if you'd like to teleport the player to the world spawn
# Keep this as 'spawn %name%' if you have a plugin such as essentials or CMI that handles the /spawn command
......
# Copyright © 2020 Property of Rían Errity Licensed under GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007. See <LICENSE.md>
name: VoidSpawn
version: ${project.version}
main: co.paradaux.hibernia.VoidSpawn.VoidSpawn
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment