You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above line of code uses (new Random()).Next(-1, 1) to determine the hit direction, however the upper bound is exclusive, so only the numbers -1(left knockback) and 0(no knockback) are being generated
Any log messages from files that end in .log or .txt? What are the last 100 log messages from the server console?
N/A
What plugins and what versions of those plugins are you running?
TShockAPI only
The text was updated successfully, but these errors were encountered:
Reproduction steps (if applicable)?
/slap player
/slap player
/slap player
Any stack traces or error messages (if known)?
N/A
Any screenshots?
TShock/TShockAPI/Commands.cs
Line 4615 in 2c06e2b
TShock/TShockAPI/TSPlayer.cs
Line 1818 in 2c06e2b
The above line of code uses
(new Random()).Next(-1, 1)
to determine the hit direction, however the upper bound is exclusive, so only the numbers-1
(left knockback) and0
(no knockback) are being generatedAny log messages from files that end in
.log
or.txt
? What are the last 100 log messages from the server console?N/A
What plugins and what versions of those plugins are you running?
TShockAPI only
The text was updated successfully, but these errors were encountered: