Add continuous spell casting with scrolls and increase scroll and spell book stack sizes to 16

This commit is contained in:
Electroblob
2018-06-24 15:48:48 +01:00
parent 75e5de603e
commit 73d973783d
5 changed files with 77 additions and 17 deletions
@@ -241,9 +241,7 @@ public class ClientProxy extends CommonProxy {
@Override
public String getScrollDisplayName(ItemStack scroll){
// Displays [Empty slot] if spell is continuous.
Spell spell = Spell.get(scroll.getItemDamage());
if(spell.isContinuous) spell = Spells.none;
EntityPlayer player = Minecraft.getMinecraft().player;