
Wiki: IWorld.playSound() actually don't need world as first param
Krutoy242 opened this issue ยท 1 comments
IWorld.playSound
shouldn't have IWorld world
as first parameter, because we already calling function from IWorld instance. Also, giving IWorld as first param we got an CT error:
a method available but none matches the parameters (ZenTypeNative: crafttweaker.world.IWorld, string, string, ZenTypeNative: crafttweaker.util.Position3f, float, float)
This is usually an error in your script, not in the mod
playSound(ZenTypeNative: crafttweaker.world.IWorld, string, string, ZenTypeNative: crafttweaker.util.Position3f, float, float, Optional bool)