Potential fix for wilderness course stepping stone bug

This commit is contained in:
ceikry
2021-06-26 11:45:24 -05:00
parent 473728c2bd
commit f10c7dc059
3 changed files with 30 additions and 21 deletions
+2 -1
View File
@@ -767,7 +767,8 @@ object ContentAPI {
*/
@JvmStatic
fun teleport(entity: Entity, loc: Location, type: TeleportManager.TeleportType = TeleportManager.TeleportType.INSTANT){
entity.teleporter.send(loc,type)
if(type == TeleportManager.TeleportType.INSTANT) entity.properties.teleportLocation = loc
else entity.teleporter.send(loc,type)
}
/**