From ec84dc73009b02c671989b4ec49991b7c5b76b2d Mon Sep 17 00:00:00 2001 From: mattrick Date: Fri, 3 Jan 2014 17:30:34 -0800 Subject: [PATCH] Partially Fixed Block Bug --- Assets/Scripts/PlayerIO.cs | 6 +++++- Library/CurrentMaximizeLayout.dwlt | Bin 28312 -> 28312 bytes Library/ScriptAssemblies/Assembly-CSharp.dll | Bin 16896 -> 16896 bytes .../ScriptAssemblies/Assembly-CSharp.dll.mdb | Bin 4991 -> 5009 bytes Library/assetDatabase3 | Bin 55980 -> 55980 bytes .../9c/9cffcde21a77c864389d63351fb4e728 | Bin 6845 -> 6937 bytes 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/PlayerIO.cs b/Assets/Scripts/PlayerIO.cs index 3e7318e..11c3a01 100644 --- a/Assets/Scripts/PlayerIO.cs +++ b/Assets/Scripts/PlayerIO.cs @@ -17,6 +17,10 @@ void Start () { // Update is called once per frame void Update () { + if (GameObject.FindWithTag ("FPSController").transform.position.y < -20) { + Debug.Log("Test"); + GameObject.FindWithTag("FPSController").transform.position = new Vector3(GameObject.FindWithTag("FPSController").transform.position.x, 60, GameObject.FindWithTag("FPSController").transform.position.z); + } if (Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1) || Input.GetMouseButtonDown(2)){ Ray ray = camera.ViewportPointToRay(new Vector3(0.5f,0.5f,0.5f)); RaycastHit hit; @@ -39,7 +43,7 @@ void Update () { Vector3 p = hit.point; if (selectedInventory != 0){ p += hit.normal / 4; - if (p != new Vector3 (GameObject.FindWithTag("MinecraftPlayer").transform.position.x,GameObject.FindWithTag("MinecraftPlayer").transform.position.y,GameObject.FindWithTag("MinecraftPlayer").transform.position.z)) + chunk.SetBrick(selectedInventory,p); } diff --git a/Library/CurrentMaximizeLayout.dwlt b/Library/CurrentMaximizeLayout.dwlt index dbda8e5c3a16f7035d413aeaed8b43b486b5ce7f..ed5abd8b73ceacf642e29f6198f9f928b02e0957 100644 GIT binary patch delta 82 zcmV-Y0ImO+-2s^00k8~Z0%sqy4rLwz0%#wTE@o~5X&ASeQIt(HpOL= oe`zHYo=P3Q1aikd{!NEHC){U0sxYQMlfi2*lfPvtvk+>C1RrJ~$N&HU delta 82 zcmV-Y0ImO+-2s^00k8~Z0)H2?4rLwz0)Q8jE@o~5ffuu$X4V1=78Zp-*yC_QWons| oe`zHY^j$VQqzPF+Jl>JKF{cMVsxYQMlfi2*lfPvtvk+>C1oJc>ng9R* diff --git a/Library/ScriptAssemblies/Assembly-CSharp.dll b/Library/ScriptAssemblies/Assembly-CSharp.dll index 75ec7f800d014d8ad2fd20191e6658cf0c31ea2c..074400ca4afeb64cba813eb557c1636b12c5d77a 100644 GIT binary patch delta 2880 zcmZuz4Q!Rw8Gg>s_jh~g`rZB)g#N-;T3e7Zda+1b7(b&5UF(cMf|s@_RodG>GD#`- z))7Rf0{aFT3nCya&Ox%QA<<1UC9c7^xyF=CXP1;L0Uc}+0w&9J*?Z1+3yj&X_xaxE zJb5Tj4&(z2!QT_3!~AhK(T&p_$OPPe zYU%YJ0zz?;hT`8M$TTD7P?&;Z;P|@@TglpgpOV#6?jFNEH1JyyYbX-*GRZDhepc{!ZZr=bQm>gn%rAK0-6(+-+{otk{Uv0gz+KjPI})V z8vTfb5$3I;I4*&Tu$|@6Q-q=nWx)JkxM+ExT0;#p9Fni4fO=2Xd*AhYv$7IuPSIs| zM46Hg(Y&NKy7GS=r1dfgGNm1;Tp4!(b8hM>7T(p5;Tr#Mo}9Qag>V1Tt`*s1Zj$#ZfUY-DTpv2JrPN3%@W^9iC*Jpgu})$!sm^Xls{r_;V#}VyLb*J z&3|zd*UToW39PRvj#v;TW?O==%u@LZ>prSngO2ab&k__W4hZFtst zPze0WdW`V5))vC|tWLrYNh5Gk%!GQHIaotGT>0KMSJPWEahv@Bg*a0= z-FAo2Qg;8PK)1~V&mrfd@ho=*#!46d7EA060Y2{Zb7AWl{)5?SzqEgcl z9IzB?Pq9GyLhZCvwf#i1OO9dpi5eVDv3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1fI4# z3170)gg>$S2#=CR;F!Ua2H&wkp0mdO&>kTBBIOpbx12HWH}O*OO>4DxK0YVA-_m36 zt<;kk#kgVph8@5m>siJS)cYTry~a3B88*p|lTty({n$C{_cV%L!zP)n&a(i<@+_+U zMhvsHa+0l8Q5sh=&$_be2^8bhRjO)vDdKbdq8Zh|qc~yMF6>aPybLoEI;L4WFUKqT zt%Y6Da=L{WUN>wM&(J=MAx=kkDmK?JH%hn7Vpw6=0Zga|+DLlp8r_BpJU>?_>fku9 z!r}#*?ZfNphqNi~&a+ANYd#yfYwR>n;LJ64me-(4of zjY+NX+fQQ5uu(nuXGwT8^x}yt;;m$sW0ta zbiH)Iu=fL(?IDrG_B^Y1G|L%wj-{P##AY<V4_y5QEX$z6GijX5gC{RZzaVw#PMT811gf`j;9keU&!kmcr z_c`IR2gz}DEx&;8sq$ipme?_hQb{`A3{y583De;*(v&idCDSdOPyu>11W-x;2Pb}- z*vhhR@k=Pf1%4Ut;|d4+H>!orF5(m1NB(jooLEwq)S6Y#|&H^HC^vi)APh*^tziL4z-dS!|X#DVG`iGAk!LXK6fa@I8Z2 z+C%fE7knXJWJlR?_DA+H3-K6_^M(9&zK(C=1AK%Z;wSmL{2#nP#6^o35j0*Jyr2j3 zRn&uj>vD^$g!XkQwS5?#pbMs912w^8R#Nm1o!g zGb_QkBP$Tzsw$ZKuvtx`$>(dD)zYdrPO-%?8Gan`7Cr{{NtwmzdN_) Y$6X)Xv$y@o`U$uBD{Nxg;=fw|1Ibyqh5!Hn diff --git a/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb b/Library/ScriptAssemblies/Assembly-CSharp.dll.mdb index 9df23f3d305040d26420ae45d195c29e45fd1787..040e957e0d648b58286412a6926fff2ef19c224c 100644 GIT binary patch delta 936 zcmY+DTS!zv7{}+EvwL>)=(=ca(b+w2TAGO~t#o@z`_7sV4*ci;n{Q_R=kUSId0TxC2IX=0pwfS+(nMc7a?doNn)twMCZq2$9qC%f^BP0}E=DYtn2)R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4h-y9JeU|?AJkw<;sr4cx3l%^J-;I6`6^J~D{sa|-%o+%pMh-^yLtcvtLEeHMjtWK2 zL3g0SkT0U2MXg7!MK4EfKsMrUGJ?DjIUG62NVbu1JS5{`D=Grnfu4ejM3(Wt=|GM` RPC|}FMI)!7+qG8jv4882?&Sag diff --git a/Library/assetDatabase3 b/Library/assetDatabase3 index 6f69f290e560ec91c031bdf7d4a3008f865f9b0f..1c3c5a7ec6077fecf940323dcb1ce0cbd51d3c97 100644 GIT binary patch delta 53 zcmV-50LuTYwF9iR1F*^;1tooi6YaClA5#ehQ+ARR?XxE-Eng4;!2kY1RQsK$(!|%h!2}x-p3hmOT=Ko3D JoYLVD1OSc&7&HI? diff --git a/Library/metadata/9c/9cffcde21a77c864389d63351fb4e728 b/Library/metadata/9c/9cffcde21a77c864389d63351fb4e728 index b89dc46ee8479069432917edfc2d5798be7e50a7..7379f6ff7ccdd99a0eabac91be7b72f2da132559 100644 GIT binary patch delta 204 zcmdmMI@64UfkAK*1A{c{Mvh)Vj;%m$F#`j`D}<#cm*f{2D@PYjFNDoxGJ)5KkvC*P5>1pp!QG9Lf{