mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Merge pull request #336 from Poslovitch/guide
Show the item display page when clicking on it in a machine's display recipes
This commit is contained in:
commit
5900056016
@ -1266,6 +1266,7 @@ public class SlimefunGuide {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onClick(Player p, int slot, ItemStack item, ClickAction action) {
|
public boolean onClick(Player p, int slot, ItemStack item, ClickAction action) {
|
||||||
|
displayItem(p, item, true, experimental, 0);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user