MCPcopy Create free account
hub / github.com/cuberite/cuberite / IsAllowedBlock

Method IsAllowedBlock

src/Simulator/SandSimulator.cpp:75–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74
75bool cSandSimulator::IsAllowedBlock(BLOCKTYPE a_BlockType)
76{
77 switch (a_BlockType)
78 {
79 case E_BLOCK_SAND:
80 case E_BLOCK_GRAVEL:
81 case E_BLOCK_ANVIL:
82 case E_BLOCK_DRAGON_EGG:
83 {
84 return true;
85 }
86 }
87 return false;
88}
89
90
91

Callers 1

WakeUpSimulatorsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected