diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-31 12:13:11 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-31 12:13:11 +0200 |
commit | 556fc908aedcc36388e9d859487b140045e5e33e (patch) | |
tree | 2dccc3b803528418ea3044a8cefe124028903447 /src/UI/Window.cpp | |
parent | Added window update. (diff) | |
download | cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.gz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.bz2 cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.lz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.xz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.zst cuberite-556fc908aedcc36388e9d859487b140045e5e33e.zip |
Diffstat (limited to 'src/UI/Window.cpp')
-rw-r--r-- | src/UI/Window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UI/Window.cpp b/src/UI/Window.cpp index aa129bfe8..8f4913030 100644 --- a/src/UI/Window.cpp +++ b/src/UI/Window.cpp @@ -863,8 +863,8 @@ void cBeaconWindow::OpenedByPlayer(cPlayer & a_Player) super::OpenedByPlayer(a_Player); a_Player.GetClientHandle()->SendWindowProperty(*this, 0, m_Beacon->GetBeaconLevel()); - a_Player.GetClientHandle()->SendWindowProperty(*this, 1, m_Beacon->GetPrimaryPotion()); - a_Player.GetClientHandle()->SendWindowProperty(*this, 2, m_Beacon->GetSecondaryPotion()); + a_Player.GetClientHandle()->SendWindowProperty(*this, 1, m_Beacon->GetPrimaryEffect()); + a_Player.GetClientHandle()->SendWindowProperty(*this, 2, m_Beacon->GetSecondaryEffect()); } |