OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

Writing to a sign also writes to server console. #163

Closed pheonic closed 10 years ago

pheonic commented 10 years ago

Using a sign as a computer peripheral writes text to the console when writing to sign, I assume this is not intended. I'm not sure if this is caused by OpenPeripheral but I didn't know what else it could be.

theoriginalbit commented 10 years ago

how are you writing to the sign? since ComputerCraft does allow writing to signs as well.

pheonic commented 10 years ago

Wrapped as a peripheral then using the setText and setLine functions

theoriginalbit commented 10 years ago

What version of OpenPeripheral, OpenPeripheralCore, OpenModsLib? What does it output to the console?

pheonic commented 10 years ago

OpenPeripheralCore 0.33 OpenPeripheralAddons 0.1.3 OpenModsLib 0.4b

It writes the text that I write to the sign along with the line number that it's on.

So if I do setText("abc\ndef\nghi\njkl") I get 2014-05-07 03:10:24 [INFO] [STDOUT] 1:abc 2014-05-07 03:10:24 [INFO] [STDOUT] 2:def 2014-05-07 03:10:24 [INFO] [STDOUT] 3:ghi 2014-05-07 03:10:24 [INFO] [STDOUT] 4:jkl

boq commented 10 years ago

Fixed about month ago (probably not in released version)