Commit Graph

545 Commits

Author SHA1 Message Date
Nassim Jahnke
dbe8a389ce
Update authors 2024-04-07 20:41:44 +02:00
Nassim Jahnke
35a00d0b95
Check for new outbound_config pipeline handler 2024-04-06 23:10:58 +02:00
Nassim Jahnke
feefe6f278
Merge branch 'master' into dev
# Conflicts:
#	bukkit-legacy/src/main/java/com/viaversion/viaversion/bukkit/util/ProtocolSupportUtil.java
#	bukkit/src/main/java/com/viaversion/viaversion/bukkit/platform/BukkitViaInjector.java
#	bungee/src/main/java/com/viaversion/viaversion/bungee/handlers/BungeeServerHandler.java
#	bungee/src/main/java/com/viaversion/viaversion/bungee/providers/BungeeVersionProvider.java
#	common/src/main/java/com/viaversion/viaversion/protocols/protocol1_9to1_8/storage/EntityTracker1_9.java
#	common/src/main/java/com/viaversion/viaversion/update/UpdateUtil.java
#	velocity/src/main/java/com/viaversion/viaversion/velocity/platform/VelocityViaInjector.java
#	velocity/src/main/java/com/viaversion/viaversion/velocity/service/ProtocolDetectorService.java
2024-03-22 20:54:44 +01:00
EnZaXD
7b0c2fb51a
Replace printStackTrace usages with proper logging (#3741) 2024-03-09 13:57:41 +01:00
Nassim Jahnke
93990c8baa
Merge branch 'master' into dev
# Conflicts:
#	common/src/main/java/com/viaversion/viaversion/protocols/protocol1_19to1_18_2/packets/EntityPackets.java
#	common/src/main/java/com/viaversion/viaversion/rewriter/EntityRewriter.java
#	gradle.properties
#	gradle/libs.versions.toml
2024-03-07 13:45:10 +01:00
Nassim Jahnke
8edad67394
Check if the channel is open in BukkitEncodeHandler 2024-03-02 20:13:58 +01:00
Nassim Jahnke
dccda57fc0
Consistent equalTo names 2024-02-14 19:14:41 +01:00
EnZaXD
302716054d
Port of internals and API to ProtocolVersion (#3694) 2024-02-14 17:56:28 +01:00
EnZaXD
e62c4a3f9e
Rename comparing methods in ProtocolVersion (#3693) 2024-02-14 09:54:15 +01:00
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