mirror of
https://github.com/TotalFreedomMC/BukkitTelnet.git
synced 2024-12-27 02:24:34 +00:00
Update for Log4J exploit
This commit is contained in:
parent
13125dbeb8
commit
67d0383cad
3 changed files with 8 additions and 7 deletions
10
pom.xml
10
pom.xml
|
@ -5,7 +5,7 @@
|
|||
|
||||
<groupId>me.totalfreedom</groupId>
|
||||
<artifactId>BukkitTelnet</artifactId>
|
||||
<version>4.6.2</version>
|
||||
<version>4.7</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.18-R0.1-SNAPSHOT</version>
|
||||
<version>1.18.1-R0.1-SNAPSHOT</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -68,7 +68,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.14.1</version>
|
||||
<version>2.15.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
|
@ -112,8 +112,8 @@
|
|||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>11</source>
|
||||
<target>11</target>
|
||||
<source>17</source>
|
||||
<target>17</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ public class BukkitTelnet extends JavaPlugin
|
|||
|
||||
TelnetLogger.setPluginLogger(plugin.getLogger());
|
||||
TelnetLogger.setServerLogger(Bukkit.getLogger());
|
||||
System.setProperty("log4j2.formatMsgNoLookups", "true");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: BukkitTelnet
|
||||
main: me.totalfreedom.bukkittelnet.BukkitTelnet
|
||||
version: 4.6.1
|
||||
api-version: "1.13"
|
||||
version: 4.7
|
||||
api-version: "1.18"
|
||||
description: Telnet console access plugin.
|
||||
authors: [bekvon, Madgeek1450, Prozza]
|
||||
|
|
Loading…
Reference in a new issue