diff --git a/pom.xml b/pom.xml
index 04260f0..247473c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
me.vemacs
MagicTPS
- 6.9
+ 6.9-R2
MagicTPS
diff --git a/src/main/java/me/vemacs/magictps/MagicTPS.java b/src/main/java/me/vemacs/magictps/MagicTPS.java
index 71d060a..2699510 100644
--- a/src/main/java/me/vemacs/magictps/MagicTPS.java
+++ b/src/main/java/me/vemacs/magictps/MagicTPS.java
@@ -7,13 +7,13 @@
import org.bukkit.plugin.java.JavaPlugin;
public class MagicTPS extends JavaPlugin implements Listener {
- private int tpsMultiplier;
+ private double tpsMultiplier;
@Override
public void onEnable() {
saveDefaultConfig();
getServer().getPluginManager().registerEvents(this, this);
- tpsMultiplier = getConfig().getInt("tps-multiplier");
+ tpsMultiplier = getConfig().getDouble("tps-multiplier");
}
@EventHandler
diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml
index e1686ef..6f1f1d7 100644
--- a/src/main/resources/config.yml
+++ b/src/main/resources/config.yml
@@ -1 +1 @@
-tps-multiplier: 21
\ No newline at end of file
+tps-multiplier: 21.0
\ No newline at end of file