Commit graph

5 commits

Author SHA1 Message Date
isokissa3
eb6b63b63f Block sending remove mob effect packet to clients when updating give-effects potion effect timers
Due to how CraftBukkit internally works is that when you add dublicate potion effect type it will be ignored unless you force it. But that causes some issues as the potion effect is removed (for really short period of time) but the packet is still sent to client. After this the new potion effect timer is sent on add mob effect packet. This will cause the nausea effect to reset everytime on clients 1.9 and above. This also fixes latency issues where the different packets dont arrive excatly at the same time and causes blinking on night vision effect.

This is fixed by using ProtocolLib to cancel the sending of remove mob effect packet when we are updating those effects.

On servers with 1.13 that are missing ProtocolLib alternative method will be used
2018-11-30 22:20:32 +02:00
isokissa3
56e6dc83a0 Fixed AsyncWorldEdit plugin exception 2018-11-30 20:08:43 +02:00
isokissa3
e87f92fbe3 Uptated WG & WE versions to 7.0.0-beta-02, also test for Jenkins
Finally decided to set up Jenkins!?
2018-11-30 13:37:10 +02:00
isokissa3
4ddde4438a Updated to WG 7 Vectors, closes #57 and #58 2018-11-17 19:42:03 +02:00
isokissa3
07d03b2229 Cleaned up WG 6/7 combatiblity 2018-11-12 20:48:17 +02:00