diff --git a/rustplus/__init__.py b/rustplus/__init__.py index 5378b3a..7c6665d 100644 --- a/rustplus/__init__.py +++ b/rustplus/__init__.py @@ -22,5 +22,5 @@ __name__ = "rustplus" __author__ = "olijeffers0n" -__version__ = "5.5.6" +__version__ = "5.5.7" __support__ = "Discord: https://discord.gg/nQqJe8qvP8" diff --git a/rustplus/api/remote/camera/camera_manager.py b/rustplus/api/remote/camera/camera_manager.py index f37f543..747d591 100644 --- a/rustplus/api/remote/camera/camera_manager.py +++ b/rustplus/api/remote/camera/camera_manager.py @@ -102,4 +102,4 @@ async def get_entities_in_frame(self) -> List[Entity]: if len(self._last_packets) == 0: return [] - return self._last_packets.get_last().entities \ No newline at end of file + return self._last_packets.get_last().entities diff --git a/rustplus/api/remote/camera/structures.py b/rustplus/api/remote/camera/structures.py index fd5f59d..044ed71 100644 --- a/rustplus/api/remote/camera/structures.py +++ b/rustplus/api/remote/camera/structures.py @@ -67,7 +67,7 @@ def get(self, index=0) -> Any: return self._queue[index] def get_last(self) -> Any: - return self.get(-1) + return self._queue[-1] def pop(self) -> Any: return self._queue.pop(0)