Skip to content

Commit

Permalink
+ Reading issue - Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
May2Beez committed Dec 2, 2023
1 parent 758f6f7 commit 6f1e8d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
mcVersion=1.8.9
modid=farmhelperv2
modName=FarmHelper
version=2.0.17
version=2.0.18
shouldRelease=true
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.http.Header;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.config.RequestConfig;
Expand Down Expand Up @@ -588,10 +587,9 @@ public void onMessage(String message) {
case "playerGotBanned": {
String username = jsonObject.get("username").getAsString();
String days = jsonObject.get("days").getAsString();
String mod = jsonObject.get("mod").getAsString();
String reason = jsonObject.get("reason").getAsString();
LogUtils.sendWarning("Player " + username + " got banned for " + days + " days while having " + mod + " in mods folder (reason: " + reason + ")");
Notifications.INSTANCE.send("FarmHelper INFO", "Player " + username + " got banned for " + days + " days while having " + mod + " in mods folder");
LogUtils.sendWarning("Detected ban screen in " + username + "'s client for " + days + " days (reason: " + reason + ")");
Notifications.INSTANCE.send("FarmHelper INFO", "Detected ban screen in " + username + "'s client for " + days + " days");
break;
}
}
Expand Down

0 comments on commit 6f1e8d8

Please sign in to comment.