From 1637ea95cb42d640b443bea730ee00bf00e0d501 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 27 Apr 2021 17:46:59 -0400 Subject: [PATCH] Fix Perl NPC GetAvoidanceRating() Perl Croak. (#1333) --- zone/perl_npc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/perl_npc.cpp b/zone/perl_npc.cpp index 4dd9b77b4..223207787 100644 --- a/zone/perl_npc.cpp +++ b/zone/perl_npc.cpp @@ -1459,7 +1459,7 @@ XS(XS_NPC_GetAvoidanceRating); /* prototype to pass -Wmissing-prototypes */ XS(XS_NPC_GetAvoidanceRating) { dXSARGS; if (items != 1) - Perl_croak(aTHX_ "Usage: NPC::GetAvoidanceyRating(THIS)"); // @categories Stats and Attributes + Perl_croak(aTHX_ "Usage: NPC::GetAvoidanceRating(THIS)"); // @categories Stats and Attributes { NPC *THIS; int32 RETVAL;