mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-01-29 18:51:26 +01:00
Merge branch 'development'
This commit is contained in:
commit
d0c79f0347
@ -4,7 +4,7 @@ stages:
|
|||||||
variables:
|
variables:
|
||||||
name: "SongodaCore"
|
name: "SongodaCore"
|
||||||
path: "/builds/$CI_PROJECT_PATH"
|
path: "/builds/$CI_PROJECT_PATH"
|
||||||
version: "2.3.30"
|
version: "2.3.31"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -115,9 +115,9 @@
|
|||||||
</build>
|
</build>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>com.destroystokyo.papermc</groupId>
|
||||||
<artifactId>spigot</artifactId>
|
<artifactId>paper</artifactId>
|
||||||
<version>1.15</version>
|
<version>1.15.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!--dependency>
|
<!--dependency>
|
||||||
<groupId>org.spigotmc</groupId>
|
<groupId>org.spigotmc</groupId>
|
||||||
|
@ -315,7 +315,7 @@ public class CommandManager implements CommandExecutor, TabCompleter {
|
|||||||
// If we're on Paper 1.8, we need to register timings (spigot creates timings on init, paper creates it on register)
|
// If we're on Paper 1.8, we need to register timings (spigot creates timings on init, paper creates it on register)
|
||||||
// later versions of paper create timings if needed when the command is executed
|
// later versions of paper create timings if needed when the command is executed
|
||||||
if (ServerProject.isServer(ServerProject.PAPER, ServerProject.TACO) && ServerVersion.isServerVersionBelow(ServerVersion.V1_9)) {
|
if (ServerProject.isServer(ServerProject.PAPER, ServerProject.TACO) && ServerVersion.isServerVersionBelow(ServerVersion.V1_9)) {
|
||||||
//commandObject.timings = co.aikar.timings.TimingsManager.getCommandTiming(plugin.getName().toLowerCase(), commandObject);
|
commandObject.timings = co.aikar.timings.TimingsManager.getCommandTiming(plugin.getName().toLowerCase(), commandObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set command action
|
// Set command action
|
||||||
|
@ -87,6 +87,10 @@ public class ClientVersion {
|
|||||||
case 490:
|
case 490:
|
||||||
case 498:
|
case 498:
|
||||||
return ServerVersion.V1_14;
|
return ServerVersion.V1_14;
|
||||||
|
case 573:
|
||||||
|
case 575:
|
||||||
|
case 578:
|
||||||
|
return ServerVersion.V1_15;
|
||||||
}
|
}
|
||||||
return version > 498 ? ServerVersion.getServerVersion() : ServerVersion.UNKNOWN;
|
return version > 498 ? ServerVersion.getServerVersion() : ServerVersion.UNKNOWN;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user