1
0
Fork 0

Play sound when brewing is complete

This commit is contained in:
Mat 2020-03-23 16:12:54 +02:00 committed by GitHub
parent f5d24746d6
commit 4fde622e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -140,6 +140,7 @@ bool cBrewingstandEntity::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
}
// Brewing process completed
m_World->BroadcastSoundEffect("block.brewing_stand.brew", m_Pos, 1.0f, 1.0f);
cPluginManager::Get()->CallHookBrewingCompleted(*m_World, *this);
return true;
}