mirror of
https://github.com/TheDeus-Group/TFM-4.3-Reloaded.git
synced 2024-12-22 22:24:56 +00:00
Fix Forge clients being unable to log in. Resolves #493
This commit is contained in:
parent
9ff6325469
commit
2ff0f6f5d6
2 changed files with 3 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
#Build Number for ANT. Do not edit!
|
||||
#Mon Apr 27 00:39:03 CEST 2015
|
||||
build.number=992
|
||||
#Mon Apr 27 00:47:37 CEST 2015
|
||||
build.number=993
|
||||
|
|
|
@ -908,7 +908,7 @@ public class TFM_PlayerListener implements Listener
|
|||
{
|
||||
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 int connectPort = TotalFreedomMod.server.getPort();
|
||||
|
||||
|
|
Loading…
Reference in a new issue