From c8ea2a75fe4d49673ba4f92821701d7e971769df Mon Sep 17 00:00:00 2001 From: David Hermann Date: Wed, 18 Jan 2023 18:44:57 +0100 Subject: [PATCH] Added getPlayer method to the travel engine --- src/main/java/org/bitbiome/classes/TravelEngine.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bitbiome/classes/TravelEngine.java b/src/main/java/org/bitbiome/classes/TravelEngine.java index 25fbc62..ec21dde 100644 --- a/src/main/java/org/bitbiome/classes/TravelEngine.java +++ b/src/main/java/org/bitbiome/classes/TravelEngine.java @@ -16,4 +16,8 @@ public class TravelEngine { player.setLocation(location); } + public Player getPlayer() { + return player; + } + }