nothing
This commit is contained in:
parent
d947c62c6a
commit
f7a5aabd5c
@ -49,15 +49,15 @@ public final class DiscoSheep extends JavaPlugin {
|
|||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
this.stopAllParties();
|
this.stopAllParties();
|
||||||
}
|
}
|
||||||
|
|
||||||
int toTicks(double seconds) {
|
int toTicks(double seconds) {
|
||||||
return (int) Math.round(seconds * 20.0);
|
return (int) Math.round(seconds * 20.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
double toSeconds(int ticks) {
|
double toSeconds(int ticks) {
|
||||||
return (double) Math.round(ticks / 20.0);
|
return (double) Math.round(ticks / 20.0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int toSeconds_i(int ticks) {
|
int toSeconds_i(int ticks) {
|
||||||
return (int) Math.round(ticks / 20.0);
|
return (int) Math.round(ticks / 20.0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user