The 'seconds' parameter of /effect is using game-ticks instead of seconds
/effect works as following:
/effect <player> <effect> [seconds] [amplifier] [hideParticles]
In the latest snapshot, the 'seconds' parameter isn't handled as seconds, but as game-ticks.
How to reproduce:
/effect @p minecraft:speed 100 1 true
What I expected to happen:
It would give me Swiftness II for 100 seconds.
What actually happened:
It gave me Swiftness II for 5 seconds.
Why? In 1 second, there are 20 game-ticks. 100/20 = 5 seconds, meaning that it handles the 'second' parameter as game-ticks, and not as seconds.
2015-10-22, 06:14 PM
2015-10-23, 12:32 AM
2015-10-23, 12:32 AM
0
2
-