diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2ddfa07 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +Copyright (c) 2018 Brianna O’Keefe + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software with minimal restriction, including the rights to use, copy, modify or merge while excluding the rights to publish, (re)distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The same distribution rights and limitations above shall similarly apply to any and all source code, and other means that can be used to emulate this work. + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..33437f9 --- /dev/null +++ b/README.MD @@ -0,0 +1,5 @@ +# EpicFarming + +EpicFarming changes the way you and your players handle farming. You can grow your crops faster, grow them without water, automatically store the produce in a chest while replant the seeds, and more All achievable with simple and intuitive farm upgrades. + +![N|Solid](https://i.imgur.com/jKtE7ZM.png) \ No newline at end of file diff --git a/README.md b/README.md deleted file mode 100644 index 3b6caca..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -EpicFarming diff --git a/src/main/java/com/songoda/epicfarming/events/BlockListeners.java b/src/main/java/com/songoda/epicfarming/events/BlockListeners.java index 2576936..b2541dd 100644 --- a/src/main/java/com/songoda/epicfarming/events/BlockListeners.java +++ b/src/main/java/com/songoda/epicfarming/events/BlockListeners.java @@ -103,7 +103,7 @@ public class BlockListeners implements Listener { return false; } - @EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true) + @EventHandler(priority = EventPriority.HIGHEST) public void onBlockBreak(BlockBreakEvent event) { try { if (event.getBlock().getType() != Material.valueOf(instance.getConfig().getString("Main.Farm Block Material"))) diff --git a/src/main/java/com/songoda/epicfarming/events/InteractListeners.java b/src/main/java/com/songoda/epicfarming/events/InteractListeners.java index 46f871f..9f1e2f5 100644 --- a/src/main/java/com/songoda/epicfarming/events/InteractListeners.java +++ b/src/main/java/com/songoda/epicfarming/events/InteractListeners.java @@ -20,7 +20,7 @@ public class InteractListeners implements Listener { this.instance = instance; } - @EventHandler(ignoreCancelled = true) + @EventHandler public void onBlockInteract(PlayerInteractEvent e) { try { if (e.getClickedBlock() == null || e.getClickedBlock().getType() != Material.valueOf(instance.getConfig().getString("Main.Farm Block Material")))