aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2021-06-15 20:40:12 -0600
committerBryson Steck <steck.bryson@gmail.com>2021-06-15 20:40:12 -0600
commit5cc1fe69baf24cc890993cda47d667de4fc3660e (patch)
tree7fe66dc0f0099e3ce2cebac8e3ae9de10ae939a6
parent8b87049d4db938220096caea2c17f1936f3611ba (diff)
downloadresurrection-5cc1fe69baf24cc890993cda47d667de4fc3660e.tar
resurrection-5cc1fe69baf24cc890993cda47d667de4fc3660e.tar.gz
resurrection-5cc1fe69baf24cc890993cda47d667de4fc3660e.tar.bz2
too lazy to wait, doing shorter time tests
-rw-r--r--out/artifacts/Resurrection_jar/Resurrection.jarbin1339003 -> 1338995 bytes
-rw-r--r--out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.classbin2558 -> 2558 bytes
-rw-r--r--src/net/brysonsteck/Resurrection/player/PlayerListener.java6
3 files changed, 3 insertions, 3 deletions
diff --git a/out/artifacts/Resurrection_jar/Resurrection.jar b/out/artifacts/Resurrection_jar/Resurrection.jar
index 4e5a64f..e80bed1 100644
--- a/out/artifacts/Resurrection_jar/Resurrection.jar
+++ b/out/artifacts/Resurrection_jar/Resurrection.jar
Binary files differ
diff --git a/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class b/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class
index 31bbc3e..ce42074 100644
--- a/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class
+++ b/out/production/Resurrection/net/brysonsteck/Resurrection/player/PlayerListener.class
Binary files differ
diff --git a/src/net/brysonsteck/Resurrection/player/PlayerListener.java b/src/net/brysonsteck/Resurrection/player/PlayerListener.java
index 38a7c33..4e793f0 100644
--- a/src/net/brysonsteck/Resurrection/player/PlayerListener.java
+++ b/src/net/brysonsteck/Resurrection/player/PlayerListener.java
@@ -42,7 +42,7 @@ public class PlayerListener implements Listener {
}
Bukkit.broadcastMessage(ChatColor.YELLOW +""+ ChatColor.BOLD + p.getDisplayName() + " has resurrected!");
}
- }.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 1728000);
+ }.runTaskLater(JavaPlugin.getProvidingPlugin(Resurrection.class), 200);
}
@EventHandler
@@ -54,8 +54,8 @@ public class PlayerListener implements Listener {
public void run() {
spawn = p.getLocation();
// PotionEffect invisibility = new PotionEffect(PotionEffectType.INVISIBILITY, 1728000, 10, false);
- PotionEffect blindness = new PotionEffect(PotionEffectType.BLINDNESS, 1728000, 10, false);
- PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 1728000, 10, false);
+ PotionEffect blindness = new PotionEffect(PotionEffectType.BLINDNESS, 100, 10, false);
+ PotionEffect slowness = new PotionEffect(PotionEffectType.SLOW, 100, 10, false);
// invisibility.apply(p);
blindness.apply(p);
slowness.apply(p);