Commit Graph

1040 Commits

Author SHA1 Message Date
KennyTV
24ebb77860
Directly add dependent futures to the list instead of waiting for the extra boolean 2020-04-24 13:48:22 +02:00
KennyTV
e4bac5f81a
Improve shutdown of executor loader and mappings cache
Previously, the shutdown check would only happen once all futures were removed, as in a player joined that had to check the remaining protocols.
Now, the check will be done regularly once the plugin has fully been enabled and has the option to delay the shutdown until set on again (i.e. with ViaBackwards)
2020-04-24 13:27:29 +02:00
KennyTV
4b9a15b003
Some javadoc changes 2020-04-24 11:39:11 +02:00
KennyTV
32826467d3
Wrap reflectiveoperationexception in concurrentlist clone 2020-04-23 21:42:08 +02:00
KennyTV
886ac734f9
Add null check to channel close 2020-04-23 21:09:41 +02:00
KennyTV
762c66ff42
Farewell, lombok! 2020-04-23 21:07:12 +02:00
KennyTV
53b8c2328e
Uncache UserConnection on channel close, fix memory leak 2020-04-23 20:24:16 +02:00
KennyTV
578c661730
Check if player is handled by Via on disconnect 2020-04-22 22:11:01 +02:00
KennyTV
a82bbc4e66
Replace keyset map lookups with value iterator 2020-04-22 21:47:14 +02:00
KennyTV
867cd4ee39
Move heightmap code above block entity check 2020-04-22 21:46:14 +02:00
Myles
f7b841faf3
Merge pull request #1742 from Gerrygames/abstraction
convert height maps, fix 1.16 chunk reading
2020-04-22 20:44:47 +01:00
Gerrygames
b80902ec10 convert height maps, fix 1.16 chunk reading 2020-04-22 21:42:11 +02:00
Myles
90386cd0de
Merge pull request #1741 from Gerrygames/abstraction
20w17a
2020-04-22 18:15:02 +01:00
Gerrygames
e22bba0360 20w17a, update entity types renamed in 1.13 2020-04-22 19:04:53 +02:00
Myles
2734b18d07 Block connections true by default
While we didn't have this enabled when it launched, most of the bugs are gone and the number of people using this option is pretty high.
2020-04-19 18:59:38 +01:00
KennyTV
c956f23def
Add safety checks to skullowner conversion 2020-04-17 21:02:51 +02:00
KennyTV
0f90efa05f
Add subplatform versions to dumps 2020-04-17 20:52:55 +02:00
KennyTV
83a6346a8d
Add git commit hash to dumps 2020-04-16 21:39:28 +02:00
Myles
d9291e6457
Merge pull request #1719 from creeper123123321/portedplayerschange
Remove portedPlayers field, let platform handle players
2020-04-15 23:11:09 +01:00
KennyTV
b03dfa9951
20w16a 2020-04-15 17:53:02 +02:00
creeper123123321
dd5cbb0e4c Merge branch 'abstraction' of https://github.com/ViaVersion/ViaVersion into portedplayerschange 2020-04-15 11:39:13 -03:00
creeper123123321
17881b342a javadoc, remove ViaAPIs getPortedPlayers, fix ViaManager.getPortedPlayers name, rename to ViaAPI#isInjected 2020-04-15 11:35:09 -03:00
Myles
47e50d035f
Merge pull request #1724 from KennyTV/abstraction
Fix 1.15 EntityToggleGlideEvent cancelling on Bukkit
2020-04-14 17:58:14 +01:00
Myles
5af9f025d8
Merge pull request #1379 from creeper123123321/1_8inconsistencyfix
Fix inconsistent types in block placement
2020-04-14 17:43:20 +01:00
KennyTV
8f08a32c5a
Bai bai to more lombok usage once more 2020-04-13 20:58:24 +02:00
creeper123123321
a91c72fb44
position fix 2020-04-13 14:42:48 -03:00
creeper123123321
99abe3994c
use short 2020-04-13 14:33:00 -03:00
creeper123123321
a0e3d70a3f
unsigned byte 2020-04-13 14:01:28 -03:00
creeper123123321
a105c5cb11 Make getPortedPlayers() private, update bungee-api, remove some lombok usage, create ViaConnectionManager 2020-04-12 16:47:32 -03:00
creeper123123321
ca78bf9851 Remove portedPlayers field, let platform handle players 2020-04-12 15:37:08 -03:00
creeper123123321
f8def524aa Run Velocity server change logic on event loop 2020-04-12 14:50:54 -03:00
KennyTV
721808d71d 20w15a 2020-04-08 16:15:53 +02:00
Myles
3c9c61056d
Merge pull request #1689 from KennyTV/abstraction
Asynchronously load mapping data
2020-04-05 21:54:04 +01:00
KennyTV
df702736bf Readd block entity wrapping 2020-04-04 00:37:06 +02:00
KennyTV
3737242226 Cleanup chunk types 2020-04-04 00:32:00 +02:00
KennyTV
ebff5e2f4d Adapt tagdata loading 2020-04-03 19:57:07 +02:00
KennyTV
081781f223 Some cleanup 2020-04-03 19:32:31 +02:00
KennyTV
c570f4a972 Minor change 2020-04-03 19:32:31 +02:00
KennyTV
563c5f830d Don't expose executor and future map 2020-04-03 19:32:30 +02:00
KennyTV
248fd92f6e Use CompletableFuture.runAsync 2020-04-03 19:32:30 +02:00
KennyTV
757654aa9d Minor changes 2020-04-03 19:32:30 +02:00
KennyTV
e658304405 Asynchronously load mappings (until needed), create optional mappings cache for VB 2020-04-03 19:32:30 +02:00
KennyTV
b5e5118450 Minor protocol cleanup
Removed unneeded integer boxing and empty method implementations of the user init
2020-04-03 19:32:30 +02:00
KennyTV
95db675de5 Add missing tags for client sending, cleanup 2020-04-03 17:29:40 +02:00
KennyTV
cae6addf26 Fill beacon tag in case it's fully used by the client in the future 2020-04-03 16:47:38 +02:00
KennyTV
ed26971724 Fix beacon item payment 2020-04-03 13:41:53 +02:00
KennyTV
7cdcdfa3c9 Minor cleanup to tagrewriter 2020-04-03 11:29:59 +02:00
KennyTV
8314f6c1db Send empty non_flammable_wood itemtag as well 2020-04-03 00:03:21 +02:00
KennyTV
297fe0a538 Send empty non_flammable_wood tag 2020-04-02 23:58:06 +02:00
KennyTV
b6592b38ad Fix zombie id 2020-04-02 23:06:05 +02:00