summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator
diff options
context:
space:
mode:
authorDrButcher <JoBad@online.de>2020-05-03 22:05:32 +0200
committerGitHub <noreply@github.com>2020-05-03 22:05:32 +0200
commit258318ab98771f03d0109d7dfba81daaed26a2a0 (patch)
tree87f4d9cc16e0a18711afdd4070bdf3874bc358df /src/Simulator/IncrementalRedstoneSimulator
parentAdd cEntity::GetBoundingBox, and use where appropriate. (#4711) (diff)
downloadcuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar.gz
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar.bz2
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar.lz
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar.xz
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.tar.zst
cuberite-258318ab98771f03d0109d7dfba81daaed26a2a0.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h b/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h
index 0944c5f8e..9f490b458 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/PressurePlateHandler.h
@@ -195,7 +195,7 @@ private:
switch (a_BlockType)
{
case E_BLOCK_STONE_PRESSURE_PLATE:
- return "block.wood_pressureplate.click_on";
+ return "block.stone_pressureplate.click_on";
case E_BLOCK_WOODEN_PRESSURE_PLATE:
return "block.wood_pressureplate.click_on";
case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE:
@@ -211,11 +211,11 @@ private:
static AString GetClickOffSound(BLOCKTYPE a_BlockType)
{
- // manage on-sound
+ // manage off-sound
switch (a_BlockType)
{
case E_BLOCK_STONE_PRESSURE_PLATE:
- return "block.wood_pressureplate.click_off";
+ return "block.stone_pressureplate.click_off";
case E_BLOCK_WOODEN_PRESSURE_PLATE:
return "block.wood_pressureplate.click_off";
case E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE: