Fix some out of style formatting.

This commit is contained in:
md_5 2014-07-12 19:50:56 +10:00
parent c965e60f5e
commit 949f150ea0
5 changed files with 11 additions and 5 deletions

View File

@ -104,7 +104,8 @@ public class TranslatableComponent extends BaseComponent
@Override @Override
protected void toPlainText(StringBuilder builder) protected void toPlainText(StringBuilder builder)
{ {
try { try
{
String trans = locales.getString( translate ); String trans = locales.getString( translate );
Matcher matcher = format.matcher( trans ); Matcher matcher = format.matcher( trans );
int position = 0; int position = 0;

View File

@ -2,6 +2,7 @@ package net.md_5.bungee.api.tab;
/** /**
* Represents a custom tab list, which may have slots manipulated. * Represents a custom tab list, which may have slots manipulated.
*
* @deprecated Future Minecraft versions render this API useless * @deprecated Future Minecraft versions render this API useless
*/ */
@Deprecated @Deprecated

View File

@ -31,7 +31,10 @@ import net.md_5.bungee.protocol.DefinedPacket;
import net.md_5.bungee.protocol.packet.PluginMessage; import net.md_5.bungee.protocol.packet.PluginMessage;
@RequiredArgsConstructor @RequiredArgsConstructor
@ToString(of = { "name", "address", "restricted" }) @ToString(of =
{
"name", "address", "restricted"
})
public class BungeeServerInfo implements ServerInfo public class BungeeServerInfo implements ServerInfo
{ {

View File

@ -6,6 +6,7 @@ import net.md_5.bungee.protocol.ProtocolConstants;
class EntityMap_1_7_2 extends EntityMap class EntityMap_1_7_2 extends EntityMap
{ {
EntityMap_1_7_2() EntityMap_1_7_2()
{ {
addRewrite( 0x04, ProtocolConstants.Direction.TO_CLIENT, false ); // Entity Equipment addRewrite( 0x04, ProtocolConstants.Direction.TO_CLIENT, false ); // Entity Equipment