[SPIGOT-288] Lever position changed by plugin doesn't refresh power status of associated block Created: 26/Dec/14  Updated: 08/Mar/15  Resolved: 08/Mar/15

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: sangen48 Assignee: Thinkofname
Resolution: Won't Fix Votes: 0
Labels: 1.8, Craftbukkit, lever, redstone, spigot

Attachments: JPEG File 2014-12-24_20.23.56.jpg    
Plugin: CraftBook 3.9 (NOT the cause, says its designer)

 Description   

-A redstone torch is placed on a block, witch has also a lever on it.
-If I change manualy the position of the lever, the torch will go off or on, following the power state of the block, that's okay.
-But if a plugin, like CraftBook, change itself the position of the lever, the power status of the block and so of the torch on it isn't refreshed. So the torch keep always the inverted state the block had when the torch was placed.
-And if I add, for exemple, another torch on a side of the block, its power status will be updated, but just once. It will not refresh itself after that, and keep again the same state.

The joined image explains more clearly the problem
Sorry if my english is quite bad xD



 Comments   
Comment by Thinkofname [ 08/Mar/15 ]

Seems intended and as its always been, did this work in 1.7.10 because it doesn't look like it did?

Comment by 56738 [ 01/Feb/15 ]

I'm suere the plugin has to update the block using Block.update(true, true).

Comment by md_5 [ 08/Jan/15 ]

Sorry I totally didn't read that this was about a plugin.

Comment by sangen48 [ 07/Jan/15 ]

I don't know, I can't say, because there's no plugin in vanilla (not this one anyway), so I can't test. Changing the position of the lever with one click (classic way) works in Spigot and Vanilla, but changes made by a plugin do not works in CraftBukkit and Spigot.

Comment by md_5 [ 06/Jan/15 ]

What about in Vanilla?

Generated at Sat Apr 05 06:16:30 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.