diff --git a/gradle.properties b/gradle.properties index b45c6d4..240d5b5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -53,7 +53,7 @@ mod_name=Zontreck's Library Mod # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=GPLv3 # The mod version. See https://semver.org/ -mod_version=1201.11.021824.0834 +mod_version=1201.11.021824.0838 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/dev/zontreck/libzontreck/events/TeleportEvent.java b/src/main/java/dev/zontreck/libzontreck/events/TeleportEvent.java index 6247793..2e7d77d 100644 --- a/src/main/java/dev/zontreck/libzontreck/events/TeleportEvent.java +++ b/src/main/java/dev/zontreck/libzontreck/events/TeleportEvent.java @@ -21,4 +21,12 @@ public class TeleportEvent extends Event this.position=position; this.player=player; } + + public ServerPlayer getPlayer() { + return player; + } + + public WorldPosition getPosition() { + return position; + } }