mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +01:00
Updated changelog. for loops > while loops
This commit is contained in:
parent
cb3bc755a6
commit
ccfce843be
@ -8,12 +8,14 @@ Key:
|
||||
- Removal
|
||||
|
||||
Version 1.3.02
|
||||
+ Added in game guides for each skill, simply type /skillname ? to access them
|
||||
! Changed Tree Feller to hand out 1/4 of normal XP for each JUNGLE LOG block it fells
|
||||
! Changed Tree Feller to only fell trees if you have enough durability
|
||||
! Changed Tree Feller to cause injury if your axe splinters from a failed Tree Feller attempt
|
||||
! Changed invincibility checks in EntityDamage listeners to accommodate for vanilla MC behaviour
|
||||
! Changed Ignition to add fire ticks rather than replacing them.
|
||||
! Changed Axes critical to have a max critical rate of 37.5% down from 75%
|
||||
= Fixed bug where Taming defensive checks got called twice
|
||||
= Fixed Shake not working correctly
|
||||
= Fixed bug with Axes command displaying wrong Greater Impact bonus damage
|
||||
= Fixed bug where Impact didn't apply bonus damage
|
||||
|
@ -51,12 +51,9 @@ public class Page {
|
||||
|
||||
public static void clearChat(Player player)
|
||||
{
|
||||
//Extremely ugly way of making the screen clear up
|
||||
int x = 0;
|
||||
while(x < 20)
|
||||
for(int x = 0; x < 20; x++)
|
||||
{
|
||||
player.sendMessage("");
|
||||
x++;
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,9 +66,9 @@ public class Page {
|
||||
String capitalized = m.getCapitalized(skilltype.toString());
|
||||
String address = "Guides."+capitalized;
|
||||
|
||||
Page.clearChat(player);
|
||||
if(args.length > 1 && m.isInt(args[1]) && m.getInt(args[1]) <= Page.getTotalPageNumber(address))
|
||||
{
|
||||
Page.clearChat(player);
|
||||
for(String target : Page.grabPageContents(capitalized+" Guide", address, m.getInt(args[1])))
|
||||
{
|
||||
player.sendMessage(target);
|
||||
|
Loading…
Reference in New Issue
Block a user