mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Fix Forge clients being unable to log in. Resolves #493
This commit is contained in:
parent
9ff6325469
commit
2ff0f6f5d6
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Mon Apr 27 00:39:03 CEST 2015
|
#Mon Apr 27 00:47:37 CEST 2015
|
||||||
build.number=992
|
build.number=993
|
||||||
|
@ -908,7 +908,7 @@ public class TFM_PlayerListener implements Listener
|
|||||||
{
|
{
|
||||||
if (TFM_ConfigEntry.FORCE_IP_ENABLED.getBoolean())
|
if (TFM_ConfigEntry.FORCE_IP_ENABLED.getBoolean())
|
||||||
{
|
{
|
||||||
final String hostname = event.getHostname();
|
final String hostname = event.getHostname().replace("FML", ""); // Forge fix - https://github.com/TotalFreedom/TotalFreedomMod/issues/493
|
||||||
final String connectAddress = TFM_ConfigEntry.SERVER_ADDRESS.getString();
|
final String connectAddress = TFM_ConfigEntry.SERVER_ADDRESS.getString();
|
||||||
final int connectPort = TotalFreedomMod.server.getPort();
|
final int connectPort = TotalFreedomMod.server.getPort();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user