Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cuberite/cuberite
/ SetRedstonePower
Method
SetRedstonePower
src/BlockEntities/DropSpenserEntity.cpp:117–124 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
115
116
117
void cDropSpenserEntity::SetRedstonePower(bool a_IsPowered)
118
{
119
if (a_IsPowered && !m_IsPowered)
120
{
121
Activate();
122
}
123
m_IsPowered = a_IsPowered;
124
}
125
126
127
Callers
2
Item
Method · 0.45
Item
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected