You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
🆙 Change Youtube SpriteID to Item ID
The old way is that you can add the playlist to the ITEM_BASE => Sprite ID The new way is the ITEM in the Room, this way you make a TV for every room with the same Sprite ID
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ public class YoutubeRequestPlaylists extends MessageHandler {
|
||||
if (item instanceof InteractionYoutubeTV) {
|
||||
InteractionYoutubeTV tv = (InteractionYoutubeTV) item;
|
||||
|
||||
ArrayList<YoutubeManager.YoutubePlaylist> playlists = Emulator.getGameEnvironment().getItemManager().getYoutubeManager().getPlaylistsForItemId(item.getBaseItem().getId());
|
||||
ArrayList<YoutubeManager.YoutubePlaylist> playlists = Emulator.getGameEnvironment().getItemManager().getYoutubeManager().getPlaylistsForItemId(itemId);
|
||||
|
||||
if (playlists == null) {
|
||||
LOGGER.error("No YouTube playlists set for base item #" + item.getBaseItem().getId());
|
||||
|
||||
Reference in New Issue
Block a user