#1941: Fix modded client+server in some cases
This commit is contained in:
		| @@ -88,10 +88,13 @@ public class UpstreamBridge extends PacketHandler | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public void handle(PacketWrapper packet) throws Exception |     public void handle(PacketWrapper packet) throws Exception | ||||||
|  |     { | ||||||
|  |         if ( con.getServer() != null ) | ||||||
|         { |         { | ||||||
|             con.getEntityRewrite().rewriteServerbound( packet.buf, con.getClientEntityId(), con.getServerEntityId() ); |             con.getEntityRewrite().rewriteServerbound( packet.buf, con.getClientEntityId(), con.getServerEntityId() ); | ||||||
|             con.getServer().getCh().write( packet ); |             con.getServer().getCh().write( packet ); | ||||||
|         } |         } | ||||||
|  |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public void handle(KeepAlive alive) throws Exception |     public void handle(KeepAlive alive) throws Exception | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 md_5
					md_5