From ba4d2362fad5928be0ad4bca112a43bbd578e7ec Mon Sep 17 00:00:00 2001 From: rysian <1342474+rysian@users.noreply.github.com> Date: Mon, 9 Nov 2020 21:55:46 -0700 Subject: [PATCH] Spelling (it's hard!) --- ByInvatation.iml => ByInvitation.iml | 0 .../byInvatation.java => ByInvitation/byInvitation.java} | 6 +++--- .../{ByInvatation => ByInvitation}/playerListener.java | 2 +- .../rysian/{ByInvatation => ByInvitation}/userManager.java | 5 ++--- src/main/resources/plugin.yml | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) rename ByInvatation.iml => ByInvitation.iml (100%) rename src/main/java/com/rysian/{ByInvatation/byInvatation.java => ByInvitation/byInvitation.java} (65%) rename src/main/java/com/rysian/{ByInvatation => ByInvitation}/playerListener.java (91%) rename src/main/java/com/rysian/{ByInvatation => ByInvitation}/userManager.java (92%) diff --git a/ByInvatation.iml b/ByInvitation.iml similarity index 100% rename from ByInvatation.iml rename to ByInvitation.iml diff --git a/src/main/java/com/rysian/ByInvatation/byInvatation.java b/src/main/java/com/rysian/ByInvitation/byInvitation.java similarity index 65% rename from src/main/java/com/rysian/ByInvatation/byInvatation.java rename to src/main/java/com/rysian/ByInvitation/byInvitation.java index bb2a0ef..2061ca4 100644 --- a/src/main/java/com/rysian/ByInvatation/byInvatation.java +++ b/src/main/java/com/rysian/ByInvitation/byInvitation.java @@ -1,7 +1,7 @@ -package com.rysian.ByInvatation; +package com.rysian.ByInvitation; import org.bukkit.plugin.java.JavaPlugin; -import org.bukkit.event.player.PlayerJoinEvent; -public class byInvatation extends JavaPlugin + +public class byInvitation extends JavaPlugin { public void onEnable() diff --git a/src/main/java/com/rysian/ByInvatation/playerListener.java b/src/main/java/com/rysian/ByInvitation/playerListener.java similarity index 91% rename from src/main/java/com/rysian/ByInvatation/playerListener.java rename to src/main/java/com/rysian/ByInvitation/playerListener.java index eefe715..860e7bf 100644 --- a/src/main/java/com/rysian/ByInvatation/playerListener.java +++ b/src/main/java/com/rysian/ByInvitation/playerListener.java @@ -1,4 +1,4 @@ -package com.rysian.ByInvatation; +package com.rysian.ByInvitation; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.AsyncPlayerPreLoginEvent; diff --git a/src/main/java/com/rysian/ByInvatation/userManager.java b/src/main/java/com/rysian/ByInvitation/userManager.java similarity index 92% rename from src/main/java/com/rysian/ByInvatation/userManager.java rename to src/main/java/com/rysian/ByInvitation/userManager.java index 3cdfe16..0307cab 100644 --- a/src/main/java/com/rysian/ByInvatation/userManager.java +++ b/src/main/java/com/rysian/ByInvitation/userManager.java @@ -1,8 +1,7 @@ -package com.rysian.ByInvatation; +package com.rysian.ByInvitation; import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; -import org.bukkit.plugin.Plugin; import java.io.File; import java.util.UUID; @@ -10,7 +9,7 @@ public class userManager { private UUID uuid; - private byInvatation plugin = byInvatation.getPlugin(byInvatation.class); + private byInvitation plugin = byInvitation.getPlugin(byInvitation.class); private File file; private FileConfiguration config; diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 04fbe35..38ff2c5 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,4 +1,4 @@ name: ByInvatation version: 0.1 -main: com.rysian.ByInvatation.serverInvite +main: com.rysian.ByInvitation.byInvitation api-version: 1.16 \ No newline at end of file