From f92247c170d08927d89b7af8982e05a3e949f96e Mon Sep 17 00:00:00 2001 From: Gibstick Date: Fri, 19 Jul 2013 11:28:41 -0400 Subject: [PATCH] catch NumberFormatException, fixed off-by-one error --- dist/DiscoSheep.jar | Bin 30659 -> 30772 bytes .../bukkit/discosheep/DiscoParty.java | 6 +++--- .../discosheep/DiscoSheepCommandExecutor.java | 7 +++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dist/DiscoSheep.jar b/dist/DiscoSheep.jar index dd2047eb5731ab7c6286597af89731f7cbfc0991..7a80a48551a7322efcb8cd9285a9769548d7ccb1 100644 GIT binary patch delta 4497 zcmai233yc175>kgN#32A7nVsTAtZrdAR!q7F~nhs>=HosMG}Yzfh+_A2}wvmTL%S- zR;z_)t!P_hu~8aa5)7ou;#Svct>V7hMO#{_*0ol8&Yj6)X#Kt>U+z8k-1E-;&w5|p zqaV|u)08l8rpxUG6p&l~>5hbrip2GVIA1M4m;g1S`@-nVJd+{MYl4t&+@K@oSQuv#RzYG6kh0|XA1E2Wt zDgLSOnGeJ9w8H1I`Go-eQmC&Kz7~mpDSYF>zwxaMXLtw`cqCF}C~_&{xKvY|u;LY& zY%M889z|YZ`4m}-5?CSil67xIePq#Bfg_$HnKvA-y6h-|+U#g=1GN&m@mpMbx z0GS6W%E=UBkPPQ3%944oq9HP8^R7ulP0BSX&wj5ie`jl4=a;j?MlMwm2F+Si(NZy@ zu3}xyh&db9uB>V-sc&3c(L8nIs;Y+O+WK|H9G1=v^9~U0u`?IkM_$v73gJDY~NVgKYs}=CG?rGuBD=`wlcG!u3}SF0os&uCr(bFQ}}jZxL0n3CjpZ{yK|RGPk6xM6IGqi>i2W zbJ^6CYN`oQ7!Y_q3)>c{gi3r8j zH?OX0v~UxCY@rQzvE1saI+oiha`BB-b@dgM7H)>!dCihr;=EaR9M%n&fp(@1wD1_u5a2y!p0c8Ff@tyb4locySjSmSIgX|rM^lcYX)~@CP4=M`L&Bn? zmp*+k_v<0>BS-7W<30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