mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2024-09-28 12:23:02 +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
|
||||
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 int connectPort = TotalFreedomMod.server.getPort();
|
||||
|
||||
|
|
Loading…
Reference in a new issue