summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/dev/deeve/containeraudit/ChestEvent.java14
-rw-r--r--src/main/java/dev/deeve/containeraudit/ChestListener.java4
-rw-r--r--src/main/resources/plugin.yml2
3 files changed, 1 insertions, 19 deletions
diff --git a/src/main/java/dev/deeve/containeraudit/ChestEvent.java b/src/main/java/dev/deeve/containeraudit/ChestEvent.java
deleted file mode 100644
index a59e0ea..0000000
--- a/src/main/java/dev/deeve/containeraudit/ChestEvent.java
+++ /dev/null
@@ -1,14 +0,0 @@
-package dev.deeve.containeraudit;
-
-import java.time.LocalDateTime;
-
-public class ChestEvent {
- private int count;
- private String block;
- private int x;
- private int y;
- private int z;
- private String player;
- private String type;
- private LocalDateTime timestamp;
-}
diff --git a/src/main/java/dev/deeve/containeraudit/ChestListener.java b/src/main/java/dev/deeve/containeraudit/ChestListener.java
index 0ed9000..4608cee 100644
--- a/src/main/java/dev/deeve/containeraudit/ChestListener.java
+++ b/src/main/java/dev/deeve/containeraudit/ChestListener.java
@@ -93,8 +93,6 @@ public class ChestListener implements Listener {
Block placedBlock = event.getBlock();
String playerName = event.getPlayer().getName();
- if (ignore.contains(playerName)) return;
-
if (ChestListener.isContainer(placedBlock.getType()))
Database.logBlockEvent(playerName, "PLACE", placedBlock.getLocation());
@@ -105,8 +103,6 @@ public class ChestListener implements Listener {
Block placedBlock = event.getBlock();
String playerName = event.getPlayer().getName();
- if (ignore.contains(playerName)) return;
-
if (ChestListener.isContainer(placedBlock.getType()))
Database.logBlockEvent(playerName, "BREAK", placedBlock.getLocation());
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index e0a43fa..3cf9035 100644
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,4 +1,4 @@
main: dev.deeve.containeraudit.Plugin
name: ContainerAudit
-version: 0.0.2
+version: 0.0.3
api-version: 1.19 \ No newline at end of file