mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-11 17:15:07 +02:00
Revert "Remove Transient :: Formatting Cleanup"
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>net.essentials3</groupId>
|
||||
<artifactId>BuildAll</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<parent>
|
||||
<groupId>net.essentials3</groupId>
|
||||
<artifactId>BuildAll</artifactId>
|
||||
<version>3.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>EssentialsChat</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>Essentials</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<artifactId>EssentialsChat</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>${project.groupId}</groupId>
|
||||
<artifactId>Essentials</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@@ -7,9 +7,9 @@ import net.ess3.economy.Trade;
|
||||
|
||||
public class ChatStore
|
||||
{
|
||||
private final IUser user;
|
||||
private final String type;
|
||||
private final Trade charge;
|
||||
private final transient IUser user;
|
||||
private final transient String type;
|
||||
private final transient Trade charge;
|
||||
|
||||
public ChatStore(final IEssentials ess, final IUser user, final String type)
|
||||
{
|
||||
|
@@ -17,10 +17,10 @@ import org.bukkit.event.player.AsyncPlayerChatEvent;
|
||||
|
||||
public abstract class EssentialsChatPlayer implements Listener
|
||||
{
|
||||
protected IEssentials ess;
|
||||
protected transient IEssentials ess;
|
||||
protected final static Logger LOGGER = Logger.getLogger("Minecraft");
|
||||
protected final Server server;
|
||||
protected final Map<AsyncPlayerChatEvent, ChatStore> chatStorage;
|
||||
protected final transient Server server;
|
||||
protected final transient Map<AsyncPlayerChatEvent, ChatStore> chatStorage;
|
||||
|
||||
public EssentialsChatPlayer(
|
||||
final Server server, final IEssentials ess, final Map<AsyncPlayerChatEvent, ChatStore> chatStorage)
|
||||
@@ -83,10 +83,9 @@ public abstract class EssentialsChatPlayer implements Listener
|
||||
{
|
||||
event.setFormat(
|
||||
format.format(
|
||||
new Object[]
|
||||
{
|
||||
group, world, world.substring(0, 1).toUpperCase(Locale.ENGLISH)
|
||||
}));
|
||||
new Object[]{
|
||||
group, world, world.substring(0, 1).toUpperCase(Locale.ENGLISH)
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -14,8 +14,8 @@ import org.bukkit.event.Listener;
|
||||
|
||||
public class EssentialsLocalChatEventListener implements Listener
|
||||
{
|
||||
protected IEssentials ess;
|
||||
protected final Server server;
|
||||
protected transient IEssentials ess;
|
||||
protected final transient Server server;
|
||||
|
||||
public EssentialsLocalChatEventListener(final Server server, final IEssentials ess)
|
||||
{
|
||||
|
Reference in New Issue
Block a user