From 8eb2e37a54f27121410bbc17beeae1180231f0a7 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Thu, 13 Oct 2016 20:13:59 +0200 Subject: [PATCH] [SCRIPT] Fix wooden b supports --- test/testpaint/generate.cpp | 2 +- test/testpaint/intercept.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testpaint/generate.cpp b/test/testpaint/generate.cpp index 9eec9ff9f5..417774d751 100644 --- a/test/testpaint/generate.cpp +++ b/test/testpaint/generate.cpp @@ -724,7 +724,7 @@ private: "metal_a_supports_paint_setup", "metal_b_supports_paint_setup", "wooden_a_supports_paint_setup", - "wooden_a_supports_paint_setup", + "wooden_b_supports_paint_setup", }; return functionNames[function]; } diff --git a/test/testpaint/intercept.c b/test/testpaint/intercept.c index 6a0c6dabfd..9bd7539a6d 100644 --- a/test/testpaint/intercept.c +++ b/test/testpaint/intercept.c @@ -400,7 +400,7 @@ static void printFunctionCall(utf8string out, size_t len, function_call call) { snprintf(out, len, "wooden_a_supports_paint_setup(%d, %d, %d, %s)", call.supports.type, call.supports.special, call.supports.height, imageId); return; case SUPPORTS_WOOD_B: - snprintf(out, len, "wooden_a_supports_paint_setup(%d, %d, %d, %s)", call.supports.type, call.supports.special, call.supports.height, imageId); + snprintf(out, len, "wooden_b_supports_paint_setup(%d, %d, %d, %s)", call.supports.type, call.supports.special, call.supports.height, imageId); return; case SUPPORTS_METAL_A: