Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi committed May 10, 2021
1 parent 07ebaaf commit 3093350
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'com.danifoldi'
version '1.0.4'
version '1.0.5'
sourceCompatibility = JavaVersion.VERSION_11

repositories {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/danifoldi/bungeegui/main/GuiHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ void close(ProxiedPlayer player) {
}

GuiGrid getOpenGui(UUID uuid) {
if (!openGuis.containsKey(uuid)) {
return null;
}

return menus.get(openGuis.get(uuid).getFirst());
}
String getGuiTarget(UUID uuid) {
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,6 @@ guis:
size: 45
title: '&6BungeeGui Authors'
items:
'10':
type: cobblestone
enchanted: true
'0':
type: nether_star
'8':
Expand Down

0 comments on commit 3093350

Please sign in to comment.