mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Properly allow Forge clients to log in. Fixes #493
This commit is contained in:
parent
c002fbc537
commit
1ed1b352f3
@ -112,7 +112,7 @@ public class TFM_ServerInterface
|
|||||||
// Check force-IP match
|
// Check force-IP match
|
||||||
if (TFM_ConfigEntry.FORCE_IP_ENABLED.getBoolean())
|
if (TFM_ConfigEntry.FORCE_IP_ENABLED.getBoolean())
|
||||||
{
|
{
|
||||||
final String hostname = event.getHostname().replace("FML", ""); // Forge fix - https://github.com/TotalFreedom/TotalFreedomMod/issues/493
|
final String hostname = event.getHostname().replace("\u0000FML\u0000", ""); // 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