mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Minor tweaks
Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
This commit is contained in:
parent
ef8e84a350
commit
7f8ef8be84
@ -50,8 +50,7 @@ public class MiddleClickListener implements Listener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// find the actual slimefun item the user is looking at
|
// find the actual slimefun item the user is looking at
|
||||||
String id = BlockStorage.checkID(b);
|
SlimefunItem sfItem = BlockStorage.check(b);
|
||||||
SlimefunItem sfItem = SlimefunItem.getById(id);
|
|
||||||
|
|
||||||
// vanilla block -> ignore
|
// vanilla block -> ignore
|
||||||
if (sfItem == null) {
|
if (sfItem == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user