mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Remove voice server functionality; there's plenty of other systems out there that do this (and better)
This commit is contained in:
1 parent
53181aae64
commit
f05391062f
10 files changed
-344
No files matched your search
@@ -675,22 +675,12 @@ public class Mekanism
|
||||
@EventHandler
|
||||
public void serverStarting(FMLServerStartingEvent event)
|
||||
{
|
||||
if(general.voiceServerEnabled)
|
||||
{
|
||||
voiceManager.start();
|
||||
}
|
||||
|
||||
event.registerServerCommand(new CommandMekanism());
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void serverStopping(FMLServerStoppingEvent event)
|
||||
{
|
||||
if(general.voiceServerEnabled)
|
||||
{
|
||||
voiceManager.stop();
|
||||
}
|
||||
|
||||
//Clear all cache data
|
||||
jetpackOn.clear();
|
||||
gasmaskOn.clear();
|
||||
@@ -800,12 +790,6 @@ public class Mekanism
|
||||
//Register this module's GUI handler in the simple packet protocol
|
||||
PacketSimpleGui.handlers.add(0, proxy);
|
||||
|
||||
//Set up VoiceServerManager
|
||||
if(general.voiceServerEnabled)
|
||||
{
|
||||
voiceManager = new VoiceServerManager();
|
||||
}
|
||||
|
||||
//Register with TransmitterNetworkRegistry
|
||||
TransmitterNetworkRegistry.initiate();
|
||||
|
||||
|
||||
Reference in new issue
Block a user