Added throws clause to ISpawnHandler functions to keep the functions consistent with similar functions and increase ease of use. Exceptions are already being caught everywhere these functions are called, so no further changes required.

This commit is contained in:
CovertJaguar 2012-03-15 03:34:42 -07:00
parent c0bf315876
commit a3345c6d57
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ public interface ISpawnHandler
*
* @param data The packet data stream
*/
public void writeSpawnData(DataOutputStream data);
public void writeSpawnData(DataOutputStream data) throws IOException;
/**
* Called by the client when it receives a Entity spawn packet.
@ -23,5 +23,5 @@ public interface ISpawnHandler
*
* @param data The packet data stream
*/
public void readSpawnData(DataInputStream data);
public void readSpawnData(DataInputStream data) throws IOException;
}