Skip to content

Commit

Permalink
fix itemmeta null
Browse files Browse the repository at this point in the history
  • Loading branch information
alvindimas05 committed Aug 19, 2024
1 parent 467e3eb commit 609090a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/alvindimas05/lagassist/MonTools.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public static void Enabler(boolean reload) {
} else {
MapView map = Bukkit.createMap(Bukkit.getWorlds().get(0));
mapitem = createMapItem(map);
mapitemmeta = mapitem.getItemMeta();

map.getRenderers().clear();
map.addRenderer(new TpsRender());
}
Expand Down

0 comments on commit 609090a

Please sign in to comment.