From c8697d9158f428f15ad654a7196845a45f479dfa Mon Sep 17 00:00:00 2001 From: Lignum Date: Fri, 19 May 2017 20:27:08 +0200 Subject: [PATCH] nTicks -> nPitch in speaker help file Not sure why this was called nTicks, but it had nothing to do with ticks. --- src/main/resources/assets/computercraft/lua/rom/help/speakers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/computercraft/lua/rom/help/speakers b/src/main/resources/assets/computercraft/lua/rom/help/speakers index 20b9e0b6c..88911273b 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/speakers +++ b/src/main/resources/assets/computercraft/lua/rom/help/speakers @@ -2,7 +2,7 @@ The Speaker is a peripheral device available for CraftOS. Type "help peripheral" Methods exposed by the Speaker: playSound( sResourceName, nVolume, nPitch ) -playNote( sInstrumentName, nVolume, nTicks ) +playNote( sInstrumentName, nVolume, nPitch ) Resource name is the same as used by the /playsound command, such as "minecraft:entity.cow.ambient". Instruments are as follows: "harp", "bass", "snare", "hat", and "basedrum" with the addition of "flute", "bell", "chime", and "guitar" in Minecraft versions 1.12 and above.