Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.bukkit.plugin.java.JavaPlugin;

public class AreYouGoingToCheatPrediction extends JavaPlugin {
String s;
String s = "";
public void run() {
getLogger().info("Are you going to cheat? Let's see...");
for (int i = 0; i < 1000; i++) {
Expand All @@ -22,7 +22,6 @@ public void run() {
}
}
private void prediction() {
String s = "";
if (Math.random() < 0.0005) {
s = "Yes, you are going to cheat!";
} else {
Expand Down