MCPcopy Create free account
hub / github.com/EndstoneMC/endstone / isServerTextEnabled

Method isServerTextEnabled

src/endstone/core/server.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240bool EndstoneServer::isServerTextEnabled(ServerTextEvent event) const
241{
242 return text_settings_.getEnabledServerTextEvents().test(
243 static_cast<std::underlying_type_t<ServerTextEvent>>(event));
244}
245
246void EndstoneServer::loadResourcePacks()
247{

Callers 3

handlePacketMethod · 0.80
doFirstSpawnMethod · 0.80
handleEventFunction · 0.80

Calls 1

testMethod · 0.45

Tested by

no test coverage detected