Commit Graph

536 Commits

Author SHA1 Message Date
Nassim Jahnke
7a6c51331b
Move config load after platform creation 2024-02-13 23:37:00 +01:00
Nassim Jahnke
dcc0642af9
Replace more raw versions with ProtocolVersion 2024-02-13 22:48:08 +01:00
Nassim Jahnke
22bd350e35
Add proper ProtocolVersion comparison 2024-02-13 18:40:21 +01:00
Nassim Jahnke
a8dc5f0f07
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/data/entity/DimensionDataImpl.java
#	common/src/main/java/com/viaversion/viaversion/rewriter/EntityRewriter.java
#	common/src/main/java/com/viaversion/viaversion/update/UpdateUtil.java
2024-02-12 10:44:03 +01:00
Nassim Jahnke
cfc048ba53
Small random cleanup 2024-02-11 10:46:08 +01:00
Nassim Jahnke
a5bd8abe93
Resize registry data array to actual size once collected 2024-01-27 13:49:27 +01:00
Nassim Jahnke
aecef3c3f8
Remove a few deprecated methods 2024-01-09 20:51:32 +01:00
Nassim Jahnke
bd2c4c8a16
Update license headers 2024-01-01 12:39:45 +01:00
Nassim Jahnke
a0f8ab7bbb
Some cleanup 2023-11-20 19:56:48 +01:00
Nassim Jahnke
2881fb18e0 Include api sources in common sources jar 2023-11-06 20:04:45 +10:00
Nassim Jahnke
e356a35aa7 Improve Gradle scripts
Don't create runnable platform jars anymore, since all they really do is increase build time. Also fix texts and Gradle deprecations. Also also publish common with its shadowed configuration, not the plain java components.
2023-11-06 14:31:44 +10:00
fren_gor
a022620712
Fix reflection field search on Spigot 1.20.2 (#3503) 2023-10-28 13:47:59 +10:00
EnZaXD
eb9bc2fdce
Remove permission requirements for root command (#3502) 2023-10-24 13:34:29 +10:00
EnZaXD
f35b4f1fac
Add own permission for every sub command (#3501) 2023-10-24 12:59:10 +10:00
Pablo Herrera
d8007dc73c
Fix valid block placements being prevented (#3407) 2023-10-11 23:29:45 +10:00
Nassim Jahnke
5850a9852d More spring cleaning 2023-10-11 23:14:41 +10:00
Nassim Jahnke
b1b0874c0f Some cosmetic code changes and typo fixes 2023-10-08 20:54:04 +10:00
Nassim Jahnke
d8f98945e2
Refactor ConfigurationProvider 2023-10-08 14:23:55 +10:00
Nassim Jahnke
d92b9fdeaa Fix connection field search on 1.20.2 2023-09-25 09:57:55 +10:00
Nassim Jahnke
1aee8a7a6c
Don't create ack task when already disabled
Fixes #3373
2023-07-02 13:29:07 +02:00
Nassim Jahnke
4971eeab6a
Don't check block items for armor swapping 2023-06-22 11:03:11 +02:00
Pablo Herrera
e32933ada9
Fix late registration of join listener (#3360) 2023-06-19 17:02:05 +02:00
EnZaXD
a817746edc
Remove requirement for MovementTransmitterProvider (#3355) 2023-06-18 15:30:58 +02:00
Nassim Jahnke
a70034e0b5
Remove early static initializer call
Weird NoClassDefFoundError going on
2023-05-18 11:53:34 +02:00
Nassim Jahnke
c46bb5bcf5
Update Folia check 2023-03-25 00:31:50 +01:00
Nassim Jahnke
ad56caeb88
Double the trouble 2023-03-17 21:47:55 +01:00
Nassim Jahnke
573201c0b1
Only load JoinListener things early 2023-03-17 18:37:48 +01:00
Nassim Jahnke
e298a7efac
Fix protocol detection on some versions of Spigot
Fixes #3263
2023-03-17 18:36:48 +01:00
Nassim Jahnke
d4894ca4b5
Fix #3260 2023-03-17 13:15:56 +01:00
Nassim Jahnke
4e844a0095
Small startup time improvements 2023-03-16 12:48:39 +01:00
Nassim Jahnke
da7f8ea3b6
Be more safe 2023-03-15 16:21:15 +01:00
Nassim Jahnke
81c4e530e9
Possibly fix joinlistener on 1.19.4 Spigot 2023-03-15 16:15:21 +01:00
Nassim Jahnke
b1524642aa
Fix protocol detection on 1.19.4 Spigot
Fixes #3241
2023-03-15 10:09:45 +01:00
Nassim Jahnke
a828c43f99
Remove ignoreCancelled from ArmorToggleListener, small cleanup
Spigot considers interacting with air "cancelled"
Fixes #3240
2023-03-15 09:20:21 +01:00
Nassim Jahnke
10737f17e2
Delay version detection when using legacy injector 2023-03-10 14:29:28 +01:00
Nassim Jahnke
7c9c602cec
Support Folia (leaf's region threaded Paper fork) 2023-03-10 12:20:02 +01:00
Nassim Jahnke
c4019fadd8
Fixes 2023-02-24 16:50:28 +01:00
Nassim Jahnke
35263e36ff
Let VB handle mapping cache enabling
Soon™️ to be fixed by Paper
2023-02-20 17:34:32 +01:00
Nassim Jahnke
bf4e4d771f
Uncap mapping loader executor pool, less logging 2023-02-20 17:30:56 +01:00
Nassim Jahnke
1157029f23
Remove unused config option, hotfix mapping data cache 2023-02-20 13:19:10 +01:00
Nassim Jahnke
cb2165eb93
Greatly reduce the number of (anonymous) inner classes
Reduces code complexity, and much more importantly, reduces the number of classes loaded at runtime by *hundreds*
2023-02-12 11:46:48 +01:00
Nassim Jahnke
088f654159
Remove some deprecated api usage, small cleanup 2023-02-04 19:42:26 +01:00
Camotoy
734bc9e88c
Add armor toggle patch for Bukkit (#3210) 2023-02-03 17:02:22 +01:00
Nassim Jahnke
4fb95581ce
Update copyright headers 2023-01-12 12:45:53 +01:00
Nassim Jahnke
0ae64203f5
Add player versions and sample pipelines to dump 2023-01-10 19:05:54 +01:00
Nassim Jahnke
4067107b52
Improve exception handling 2023-01-06 20:51:21 +01:00
Nassim Jahnke
a3080800b0
More minor refactoring 2022-11-22 17:04:06 +01:00
Nassim Jahnke
fad350c811
Small refactoring 2022-11-03 18:30:59 +01:00
Nassim Jahnke
6095128007
Remove javassist dependency, reduces file size by ~1mb 2022-10-25 17:31:13 +02:00
Nassim Jahnke
0355447d53
Remove more of the old compat layer 2022-10-25 15:55:42 +02:00