Skip to content

Commit

Permalink
Add constants for localhost and port.
Browse files Browse the repository at this point in the history
  • Loading branch information
Provismet committed Oct 2, 2023
1 parent 135ff11 commit bbce77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/provismet/vmcmc/vmc/PacketSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
* This singleton is guaranteed to exist after the vmc-mc mod has been initialised on the client.
*/
public class PacketSender {
public static final String LOCALHOST = "127.0.0.1";
public static final int DEFAULT_PORT = 35404;

private static OSCPortOut portOut;

/**
Expand Down

0 comments on commit bbce77e

Please sign in to comment.