Skip to content

Commit

Permalink
Sync official latest source code
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWishsama committed Jun 2, 2019
1 parent e0022a6 commit db5d8ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/me/mrCookieSlime/Slimefun/Hashing/ItemHash.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static String toString(SlimefunItem item) {
StringBuilder builder = new StringBuilder(LENGTH * 2);

for (char c: item.getHash().toCharArray()) {
builder.append('§');
builder.append('\u00a7');
builder.append(c);
}

Expand Down
4 changes: 2 additions & 2 deletions src/me/mrCookieSlime/Slimefun/SlimefunGuide.java
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ else if (r instanceof FurnaceRecipe) {
else if (sfItem instanceof AGenerator) {
int slot = 27;
for (MachineFuel fuel: ((AGenerator) sfItem).getFuelTypes()) {
if (slot > 54) break;
if (slot >= 54) break;
ItemStack fItem = fuel.getInput().clone();
ItemMeta im = fItem.getItemMeta();
List<String> lore = new ArrayList<String>();
Expand All @@ -1166,7 +1166,7 @@ else if (sfItem instanceof AGenerator) {
else if (sfItem instanceof AReactor) {
int slot = 27;
for (MachineFuel fuel: ((AReactor) sfItem).getFuelTypes()) {
if (slot > 54) break;
if (slot >= 54) break;
ItemStack fItem = fuel.getInput().clone();
ItemMeta im = fItem.getItemMeta();
List<String> lore = new ArrayList<String>();
Expand Down

0 comments on commit db5d8ea

Please sign in to comment.