MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / stopRecording

Method stopRecording

Minecraft-Utils/1.8/src/AudioButton.java:157–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 private void stopRecording() {
158 if (!recording)
159 return;
160 recording = false;
161 if (System.currentTimeMillis() - recordingStarted <= 250) {
162 error(MinecraftFactory.getClassProxyCallback().translate("chat.audio.hint"));
163 }
164 synchronized (LOCK) {
165 closeLine();
166 }
167 }
168
169 @Override
170 public void guiClosed() {

Callers 2

tickMethod · 0.95
mouseReleasedMethod · 0.95

Calls 4

errorMethod · 0.95
getClassProxyCallbackMethod · 0.95
closeLineMethod · 0.95
translateMethod · 0.65

Tested by

no test coverage detected