mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 09:49:05 +00:00
Update detection of velocity enabled on paper (#64)
This commit is contained in:
parent
d7d66e1786
commit
314fe96e1d
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>mineverse.Aust1n46.chat</groupId>
|
||||
<artifactId>VentureChat</artifactId>
|
||||
<version>3.4.5</version>
|
||||
<version>3.4.6</version>
|
||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||
<scm>
|
||||
<url>https://bitbucket.org/Aust1n46/venturechat/src/master</url>
|
||||
|
@ -74,7 +74,9 @@ public class LoginListener implements Listener {
|
||||
}
|
||||
|
||||
try {
|
||||
if(plugin.getServer().spigot().getConfig().getBoolean("settings.bungeecord") || plugin.getServer().spigot().getPaperConfig().getBoolean("settings.velocity-support.enabled")) {
|
||||
if(plugin.getServer().spigot().getConfig().getBoolean("settings.bungeecord")
|
||||
|| plugin.getServer().spigot().getPaperConfig().getBoolean("settings.velocity-support.enabled")
|
||||
|| plugin.getServer().spigot().getPaperConfig().getBoolean("proxies.velocity.enabled")) {
|
||||
long delayInTicks = 20L;
|
||||
final MineverseChatPlayer sync = mcp;
|
||||
plugin.getServer().getScheduler().runTaskLaterAsynchronously(plugin, new Runnable() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user